S3SettingsExtensions.

SetRegion<T>(T, RegionEndpoint) Method

Summary

Specifies the endpoints available to AWS clients.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3SettingsExtensions

Syntax

public static T SetRegion<T>(this T settings, RegionEndpoint region) where T : S3Settings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The S3 settings.
region RegionEndpoint The endpoints available to AWS clients.

Return Value

Type Description
T The same S3Settings instance so that multiple calls can be chained.