Class AccessPointAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.s3objectlambda.alpha.AccessPointAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessPointAttributes>
- Enclosing interface:
AccessPointAttributes
@Stability(Experimental)
public static final class AccessPointAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AccessPointAttributes>
A builder for
AccessPointAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) Sets the value ofAccessPointAttributes.getAccessPointArn()
accessPointCreationDate
(String accessPointCreationDate) Sets the value ofAccessPointAttributes.getAccessPointCreationDate()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
Sets the value ofAccessPointAttributes.getAccessPointArn()
- Parameters:
accessPointArn
- The ARN of the access point. This parameter is required.- Returns:
this
-
accessPointCreationDate
@Stability(Experimental) public AccessPointAttributes.Builder accessPointCreationDate(String accessPointCreationDate) Sets the value ofAccessPointAttributes.getAccessPointCreationDate()
- Parameters:
accessPointCreationDate
- The creation data of the access point. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessPointAttributes>
- Returns:
- a new instance of
AccessPointAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-