@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.
|
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public CreateLocationObjectStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()