Class AccessPointReference.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.AccessPointReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessPointReference>
- Enclosing interface:
AccessPointReference
@Stability(Stable)
public static final class AccessPointReference.Builder
extends Object
implements software.amazon.jsii.Builder<AccessPointReference>
A builder for
AccessPointReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) Sets the value ofAccessPointReference.getAccessPointArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
Sets the value ofAccessPointReference.getAccessPointArn()
- Parameters:
accessPointArn
- The Arn of the AccessPoint resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessPointReference>
- Returns:
- a new instance of
AccessPointReference
- Throws:
NullPointerException
- if any required attribute was not provided
-