Class CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty>
- Enclosing interface:
CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty
@Stability(Stable)
public static final class CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty>
A builder for
CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv4Addresses(List<String> ipv4Addresses) Sets the value ofCfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.getRegion()Sets the value ofCfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv4Addresses
@Stability(Stable) public CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder ipv4Addresses(List<String> ipv4Addresses) - Parameters:
ipv4Addresses- The IPv4 addresses allowed for cross-Region Amazon S3 restore access.- Returns:
this
-
region
@Stability(Stable) public CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder region(String region) Sets the value ofCfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.getRegion()- Parameters:
region- The AWS-Region for cross-Region Amazon S3 restore access.- Returns:
this
-
status
@Stability(Stable) public CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.Builder status(String status) Sets the value ofCfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty.getStatus()- Parameters:
status- The status of the managed resource access.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty>- Returns:
- a new instance of
CfnOdbNetwork.CrossRegionS3RestoreSourcesAccessProperty - Throws:
NullPointerException- if any required attribute was not provided
-