Class CfnAccessGrantsInstanceProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnAccessGrantsInstanceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessGrantsInstanceProps>
- Enclosing interface:
CfnAccessGrantsInstanceProps
@Stability(Stable)
public static final class CfnAccessGrantsInstanceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessGrantsInstanceProps>
A builder for
CfnAccessGrantsInstanceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.identityCenterArn
(String identityCenterArn) Sets the value ofCfnAccessGrantsInstanceProps.getIdentityCenterArn()
Sets the value ofCfnAccessGrantsInstanceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityCenterArn
@Stability(Stable) public CfnAccessGrantsInstanceProps.Builder identityCenterArn(String identityCenterArn) Sets the value ofCfnAccessGrantsInstanceProps.getIdentityCenterArn()
- Parameters:
identityCenterArn
- If you would like to associate your S3 Access Grants instance with an AWS IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the AWS 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.- Returns:
this
-
tags
Sets the value ofCfnAccessGrantsInstanceProps.getTags()
- Parameters:
tags
- The AWS 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessGrantsInstanceProps>
- Returns:
- a new instance of
CfnAccessGrantsInstanceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-