Interface S3Config.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Config.Builder,S3Config>,SdkBuilder<S3Config.Builder,S3Config>,SdkPojo
- Enclosing class:
- S3Config
public static interface S3Config.Builder extends SdkPojo, CopyableBuilder<S3Config.Builder,S3Config>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Config.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.S3Config.Builderpath(String path)The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.S3Config.BuilderroleArn(String roleArn)The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
path
S3Config.Builder path(String path)
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
- Parameters:
path- The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
S3Config.Builder roleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the
KMSKeyArnkey, the role must allow access to the key.Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputExceptionerror.- Parameters:
roleArn- The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for theKMSKeyArnkey, the role must allow access to the key.Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
S3Config.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-