@Stability(value=Stable) public static final class CfnLocationObjectStorageProps.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationObjectStorageProps>
CfnLocationObjectStorageProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder agentArns(List<String> agentArns)
CfnLocationObjectStorageProps.getAgentArns()agentArns - Specifies the Amazon Resource Names (ARNs) of the agents associated with the location. This parameter is required.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder bucketName(String bucketName)
CfnLocationObjectStorageProps.getBucketName()bucketName - Specifies the name of the bucket that DataSync reads from or writes to. This parameter is required.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder serverHostname(String serverHostname)
CfnLocationObjectStorageProps.getServerHostname()serverHostname - Specifies the domain name or IP address of the object storage server. This parameter is required.
A DataSync agent uses this hostname to mount the object storage server.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder accessKey(String accessKey)
CfnLocationObjectStorageProps.getAccessKey()accessKey - Specifies the access key (or user name) if credentials are required to access the object storage server.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder secretKey(String secretKey)
CfnLocationObjectStorageProps.getSecretKey()secretKey - Specifies the secret key (or password) if credentials are required to access the object storage server.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder serverPort(Number serverPort)
CfnLocationObjectStorageProps.getServerPort()serverPort - Specifies the port that your object storage server accepts inbound network traffic on.
Set to port 80 (HTTP), 443 (HTTPS), or a custom port if needed.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder serverProtocol(String serverProtocol)
CfnLocationObjectStorageProps.getServerProtocol()serverProtocol - Specifies the protocol that your object storage server uses to communicate.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder subdirectory(String subdirectory)
CfnLocationObjectStorageProps.getSubdirectory()subdirectory - Specifies the object prefix that DataSync reads from or writes to.this@Stability(value=Stable) public CfnLocationObjectStorageProps.Builder tags(List<? extends CfnTag> tags)
CfnLocationObjectStorageProps.getTags()tags - Specifies the key-value pair that represents the tag to help you manage, filter, and search for your location.
We recommend using tags for naming your locations.this@Stability(value=Stable) public CfnLocationObjectStorageProps build()
build in interface software.amazon.jsii.Builder<CfnLocationObjectStorageProps>CfnLocationObjectStoragePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.