Class CfnConnection.S3PropertiesInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnection.S3PropertiesInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.S3PropertiesInputProperty>
- Enclosing interface:
CfnConnection.S3PropertiesInputProperty
@Stability(Stable)
public static final class CfnConnection.S3PropertiesInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.S3PropertiesInputProperty>
A builder for
CfnConnection.S3PropertiesInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3AccessGrantLocationId(String s3AccessGrantLocationId) Sets the value ofCfnConnection.S3PropertiesInputProperty.getS3AccessGrantLocationId()Sets the value ofCfnConnection.S3PropertiesInputProperty.getS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Uri
Sets the value ofCfnConnection.S3PropertiesInputProperty.getS3Uri()- Parameters:
s3Uri- The Amazon S3 URI that's part of the Amazon S3 properties of a connection. This parameter is required.- Returns:
this
-
s3AccessGrantLocationId
@Stability(Stable) public CfnConnection.S3PropertiesInputProperty.Builder s3AccessGrantLocationId(String s3AccessGrantLocationId) Sets the value ofCfnConnection.S3PropertiesInputProperty.getS3AccessGrantLocationId()- Parameters:
s3AccessGrantLocationId- The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.S3PropertiesInputProperty>- Returns:
- a new instance of
CfnConnection.S3PropertiesInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-