Interface CreateAccessGrantsInstanceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAccessGrantsInstanceRequest.Builder,CreateAccessGrantsInstanceRequest>,S3ControlRequest.Builder,SdkBuilder<CreateAccessGrantsInstanceRequest.Builder,CreateAccessGrantsInstanceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAccessGrantsInstanceRequest
public static interface CreateAccessGrantsInstanceRequest.Builder extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessGrantsInstanceRequest.Builder,CreateAccessGrantsInstanceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAccessGrantsInstanceRequest.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that is making this request.CreateAccessGrantsInstanceRequest.BuilderidentityCenterArn(String identityCenterArn)If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance.CreateAccessGrantsInstanceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAccessGrantsInstanceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAccessGrantsInstanceRequest.Buildertags(Collection<Tag> tags)The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance.CreateAccessGrantsInstanceRequest.Buildertags(Consumer<Tag.Builder>... tags)The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance.CreateAccessGrantsInstanceRequest.Buildertags(Tag... tags)The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountId
CreateAccessGrantsInstanceRequest.Builder accountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
- Parameters:
accountId- The ID of the Amazon Web Services account that is making this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenterArn
CreateAccessGrantsInstanceRequest.Builder identityCenterArn(String identityCenterArn)
If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.
- Parameters:
identityCenterArn- If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAccessGrantsInstanceRequest.Builder tags(Collection<Tag> tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- Parameters:
tags- The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAccessGrantsInstanceRequest.Builder tags(Tag... tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- Parameters:
tags- The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAccessGrantsInstanceRequest.Builder tags(Consumer<Tag.Builder>... tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateAccessGrantsInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAccessGrantsInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-