@Generated(value="software.amazon.awssdk:codegen") public final class UpdateLocationObjectStorageRequest extends DataSyncRequest implements ToCopyableBuilder<UpdateLocationObjectStorageRequest.Builder,UpdateLocationObjectStorageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateLocationObjectStorageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKey()
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object
storage server.
|
List<String> |
agentArns()
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
|
static UpdateLocationObjectStorageRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAgentArns()
For responses, this returns true if the service returned a value for the AgentArns property.
|
int |
hashCode() |
String |
locationArn()
Specifies the ARN of the object storage system location that you're updating.
|
List<SdkField<?>> |
sdkFields() |
String |
secretKey()
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object
storage server.
|
static Class<? extends UpdateLocationObjectStorageRequest.Builder> |
serializableBuilderClass() |
SdkBytes |
serverCertificate()
Specifies a certificate to authenticate with an object storage system that uses a private or self-signed
certificate authority (CA).
|
Integer |
serverPort()
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
|
ObjectStorageServerProtocol |
serverProtocol()
Specifies the protocol that your object storage server uses to communicate.
|
String |
serverProtocolAsString()
Specifies the protocol that your object storage server uses to communicate.
|
String |
subdirectory()
Specifies the object prefix for your object storage server.
|
UpdateLocationObjectStorageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String locationArn()
Specifies the ARN of the object storage system location that you're updating.
public final Integer serverPort()
Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
public final ObjectStorageServerProtocol serverProtocol()
Specifies the protocol that your object storage server uses to communicate.
If the service returns an enum value that is not available in the current SDK version, serverProtocol
will return ObjectStorageServerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from serverProtocolAsString().
ObjectStorageServerProtocolpublic final String serverProtocolAsString()
Specifies the protocol that your object storage server uses to communicate.
If the service returns an enum value that is not available in the current SDK version, serverProtocol
will return ObjectStorageServerProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from serverProtocolAsString().
ObjectStorageServerProtocolpublic final 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.
public final String accessKey()
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
public final String secretKey()
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
public final boolean hasAgentArns()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> agentArns()
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAgentArns() method.
public final SdkBytes serverCertificate()
Specifies a certificate to authenticate with an object storage system that uses a private or self-signed
certificate authority (CA). You must specify a Base64-encoded .pem file (for example,
file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes
(before Base64 encoding).
To use this parameter, configure ServerProtocol to HTTPS.
Updating the certificate doesn't interfere with tasks that you have in progress.
.pem file (for example,
file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768
bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol to HTTPS.
Updating the certificate doesn't interfere with tasks that you have in progress.
public UpdateLocationObjectStorageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateLocationObjectStorageRequest.Builder,UpdateLocationObjectStorageRequest>toBuilder in class DataSyncRequestpublic static UpdateLocationObjectStorageRequest.Builder builder()
public static Class<? extends UpdateLocationObjectStorageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.