@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLocationObjectStorageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLocationObjectStorageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLocationObjectStorageRequest |
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 |
getLocationArn()
Specifies the ARN of the object storage system location that you're updating.
|
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).
|
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.
|
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 |
setLocationArn(String locationArn)
Specifies the ARN of the object storage system location that you're updating.
|
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 |
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.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLocationObjectStorageRequest |
withAccessKey(String accessKey)
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
|
UpdateLocationObjectStorageRequest |
withAgentArns(Collection<String> agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
UpdateLocationObjectStorageRequest |
withAgentArns(String... agentArns)
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
UpdateLocationObjectStorageRequest |
withLocationArn(String locationArn)
Specifies the ARN of the object storage system location that you're updating.
|
UpdateLocationObjectStorageRequest |
withSecretKey(String secretKey)
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
|
UpdateLocationObjectStorageRequest |
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).
|
UpdateLocationObjectStorageRequest |
withServerPort(Integer serverPort)
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
|
UpdateLocationObjectStorageRequest |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
UpdateLocationObjectStorageRequest |
withServerProtocol(String serverProtocol)
Specifies the protocol that your object storage server uses to communicate.
|
UpdateLocationObjectStorageRequest |
withSubdirectory(String subdirectory)
Specifies the object prefix for your object storage server.
|
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 setLocationArn(String locationArn)
Specifies the ARN of the object storage system location that you're updating.
locationArn
- Specifies the ARN of the object storage system location that you're updating.public String getLocationArn()
Specifies the ARN of the object storage system location that you're updating.
public UpdateLocationObjectStorageRequest withLocationArn(String locationArn)
Specifies the ARN of the object storage system location that you're updating.
locationArn
- Specifies the ARN of the object storage system location that you're updating.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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 UpdateLocationObjectStorageRequest 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 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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
public UpdateLocationObjectStorageRequest 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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
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
.
Updating this parameter doesn't interfere with tasks that you have in progress.
public String toString()
toString
in class Object
Object.toString()
public UpdateLocationObjectStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()