@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationObjectStorageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateLocationObjectStorageRequest
NOOP
Constructor and Description |
---|
CreateLocationObjectStorageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLocationObjectStorageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessKey()
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
|
List<String> |
getAgentArns()
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
String |
getBucketName()
Specifies the name of the object storage bucket involved in the transfer.
|
String |
getSecretKey()
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
|
ByteBuffer |
getServerCertificate()
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA).
|
String |
getServerHostname()
Specifies the domain name or IP address of the object storage server.
|
Integer |
getServerPort()
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
|
String |
getServerProtocol()
Specifies the protocol that your object storage server uses to communicate.
|
String |
getSubdirectory()
Specifies the object prefix for your object storage server.
|
List<TagListEntry> |
getTags()
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
int |
hashCode() |
void |
setAccessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
|
void |
setAgentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
void |
setBucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
|
void |
setSecretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
|
void |
setServerCertificate(ByteBuffer serverCertificate)
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA).
|
void |
setServerHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server.
|
void |
setServerPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
|
void |
setServerProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
void |
setSubdirectory(String subdirectory)
Specifies the object prefix for your object storage server.
|
void |
setTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationObjectStorageRequest |
withAccessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
|
CreateLocationObjectStorageRequest |
withAgentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
CreateLocationObjectStorageRequest |
withAgentArns(String... agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
CreateLocationObjectStorageRequest |
withBucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
|
CreateLocationObjectStorageRequest |
withSecretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
|
CreateLocationObjectStorageRequest |
withServerCertificate(ByteBuffer serverCertificate)
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA).
|
CreateLocationObjectStorageRequest |
withServerHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server.
|
CreateLocationObjectStorageRequest |
withServerPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
|
CreateLocationObjectStorageRequest |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
CreateLocationObjectStorageRequest |
withServerProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
CreateLocationObjectStorageRequest |
withSubdirectory(String subdirectory)
Specifies the object prefix for your object storage server.
|
CreateLocationObjectStorageRequest |
withTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
CreateLocationObjectStorageRequest |
withTags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setServerHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.
serverHostname
- Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname
to mount the object storage server in a network.public String getServerHostname()
Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.
public CreateLocationObjectStorageRequest withServerHostname(String serverHostname)
Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.
serverHostname
- Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname
to mount the object storage server in a network.public void setServerPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
serverPort
- Specifies the port that your object storage server accepts inbound network traffic on (for example, port
443).public Integer getServerPort()
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
public CreateLocationObjectStorageRequest withServerPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
serverPort
- Specifies the port that your object storage server accepts inbound network traffic on (for example, port
443).public void setServerProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
serverProtocol
- Specifies the protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public String getServerProtocol()
Specifies the protocol that your object storage server uses to communicate.
ObjectStorageServerProtocol
public CreateLocationObjectStorageRequest withServerProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
serverProtocol
- Specifies the protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public CreateLocationObjectStorageRequest withServerProtocol(ObjectStorageServerProtocol serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
serverProtocol
- Specifies the protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public void setSubdirectory(String subdirectory)
Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
subdirectory
- Specifies the object prefix for your object storage server. If this is a source location, DataSync only
copies objects with this prefix. If this is a destination location, DataSync writes all objects with this
prefix.public String getSubdirectory()
Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
public CreateLocationObjectStorageRequest withSubdirectory(String subdirectory)
Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
subdirectory
- Specifies the object prefix for your object storage server. If this is a source location, DataSync only
copies objects with this prefix. If this is a destination location, DataSync writes all objects with this
prefix.public void setBucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
bucketName
- Specifies the name of the object storage bucket involved in the transfer.public String getBucketName()
Specifies the name of the object storage bucket involved in the transfer.
public CreateLocationObjectStorageRequest withBucketName(String bucketName)
Specifies the name of the object storage bucket involved in the transfer.
bucketName
- Specifies the name of the object storage bucket involved in the transfer.public void setAccessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
accessKey
- Specifies the access key (for example, a user name) if credentials are required to authenticate with the
object storage server.public String getAccessKey()
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
public CreateLocationObjectStorageRequest withAccessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
accessKey
- Specifies the access key (for example, a user name) if credentials are required to authenticate with the
object storage server.public void setSecretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
secretKey
- Specifies the secret key (for example, a password) if credentials are required to authenticate with the
object storage server.public String getSecretKey()
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
public CreateLocationObjectStorageRequest withSecretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
secretKey
- Specifies the secret key (for example, a password) if credentials are required to authenticate with the
object storage server.public List<String> getAgentArns()
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
public void setAgentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
agentArns
- Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.public CreateLocationObjectStorageRequest withAgentArns(String... agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
NOTE: This method appends the values to the existing list (if any). Use
setAgentArns(java.util.Collection)
or withAgentArns(java.util.Collection)
if you want to
override the existing values.
agentArns
- Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.public CreateLocationObjectStorageRequest withAgentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
agentArns
- Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your
location.public List<TagListEntry> getTags()
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
public void setTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
tags
- Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you
manage, filter, and search for your resources. We recommend creating a name tag for your location.public CreateLocationObjectStorageRequest withTags(TagListEntry... tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you
manage, filter, and search for your resources. We recommend creating a name tag for your location.public CreateLocationObjectStorageRequest withTags(Collection<TagListEntry> tags)
Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
tags
- Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you
manage, filter, and search for your resources. We recommend creating a name tag for your location.public void setServerCertificate(ByteBuffer serverCertificate)
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA). You must specify a single .pem
file with a full
certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes before base64
encoding). The following example cat
command creates an object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverCertificate
- Specifies a certificate chain for DataSync to authenticate with your object storage system if the system
uses a private or self-signed certificate authority (CA). You must specify a single .pem
file
with a full certificate chain (for example,
file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes before
base64 encoding). The following example cat
command creates an
object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
public ByteBuffer getServerCertificate()
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA). You must specify a single .pem
file with a full
certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes before base64
encoding). The following example cat
command creates an object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
.pem
file with a full certificate chain (for example,
file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes
before base64 encoding). The following example cat
command creates an
object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
public CreateLocationObjectStorageRequest withServerCertificate(ByteBuffer serverCertificate)
Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a
private or self-signed certificate authority (CA). You must specify a single .pem
file with a full
certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes before base64
encoding). The following example cat
command creates an object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverCertificate
- Specifies a certificate chain for DataSync to authenticate with your object storage system if the system
uses a private or self-signed certificate authority (CA). You must specify a single .pem
file
with a full certificate chain (for example,
file:///home/user/.ssh/object_storage_certificates.pem
).
The certificate chain might include:
The object storage system's certificate
All intermediate certificates (if there are any)
The root certificate of the signing CA
You can concatenate your certificates into a .pem
file (which can be up to 32768 bytes before
base64 encoding). The following example cat
command creates an
object_storage_certificates.pem
file that includes three certificates:
cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem
To use this parameter, configure ServerProtocol
to HTTPS
.
public String toString()
toString
in class Object
Object.toString()
public CreateLocationObjectStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()