@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()
Optional.
|
List<String> |
getAgentArns()
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
String |
getBucketName()
The bucket on the self-managed object storage server that is used to read data from.
|
String |
getSecretKey()
Optional.
|
String |
getServerHostname()
The name of the self-managed object storage server.
|
Integer |
getServerPort()
The port that your self-managed object storage server accepts inbound network traffic on.
|
String |
getServerProtocol()
The protocol that the object storage server uses to communicate.
|
String |
getSubdirectory()
The subdirectory in the self-managed object storage server that is used to read data from.
|
List<TagListEntry> |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
int |
hashCode() |
void |
setAccessKey(String accessKey)
Optional.
|
void |
setAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
void |
setBucketName(String bucketName)
The bucket on the self-managed object storage server that is used to read data from.
|
void |
setSecretKey(String secretKey)
Optional.
|
void |
setServerHostname(String serverHostname)
The name of the self-managed object storage server.
|
void |
setServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on.
|
void |
setServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate.
|
void |
setSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
|
void |
setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationObjectStorageRequest |
withAccessKey(String accessKey)
Optional.
|
CreateLocationObjectStorageRequest |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
CreateLocationObjectStorageRequest |
withAgentArns(String... agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
CreateLocationObjectStorageRequest |
withBucketName(String bucketName)
The bucket on the self-managed object storage server that is used to read data from.
|
CreateLocationObjectStorageRequest |
withSecretKey(String secretKey)
Optional.
|
CreateLocationObjectStorageRequest |
withServerHostname(String serverHostname)
The name of the self-managed object storage server.
|
CreateLocationObjectStorageRequest |
withServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on.
|
CreateLocationObjectStorageRequest |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that the object storage server uses to communicate.
|
CreateLocationObjectStorageRequest |
withServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate.
|
CreateLocationObjectStorageRequest |
withSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
|
CreateLocationObjectStorageRequest |
withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location.
|
CreateLocationObjectStorageRequest |
withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location.
|
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, withSdkRequestTimeoutpublic void setServerHostname(String serverHostname)
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
serverHostname - The name of the self-managed object storage server. This value is the IP address or Domain Name Service
(DNS) name of the object storage server. An agent uses this host name to mount the object storage server
in a network.public String getServerHostname()
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
public CreateLocationObjectStorageRequest withServerHostname(String serverHostname)
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
serverHostname - The name of the self-managed object storage server. This value is the IP address or Domain Name Service
(DNS) name of the object storage server. An agent uses this host name to mount the object storage server
in a network.public void setServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
serverPort - The port that your self-managed object storage server accepts inbound network traffic on. The server port
is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed
object storage server requires one.public Integer getServerPort()
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
public CreateLocationObjectStorageRequest withServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
serverPort - The port that your self-managed object storage server accepts inbound network traffic on. The server port
is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed
object storage server requires one.public void setServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
serverProtocol - The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.ObjectStorageServerProtocolpublic String getServerProtocol()
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
ObjectStorageServerProtocolpublic CreateLocationObjectStorageRequest withServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
serverProtocol - The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.ObjectStorageServerProtocolpublic CreateLocationObjectStorageRequest withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
serverProtocol - The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.ObjectStorageServerProtocolpublic void setSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
subdirectory - The subdirectory in the self-managed object storage server that is used to read data from.public String getSubdirectory()
The subdirectory in the self-managed object storage server that is used to read data from.
public CreateLocationObjectStorageRequest withSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
subdirectory - The subdirectory in the self-managed object storage server that is used to read data from.public void setBucketName(String bucketName)
The bucket on the self-managed object storage server that is used to read data from.
bucketName - The bucket on the self-managed object storage server that is used to read data from.public String getBucketName()
The bucket on the self-managed object storage server that is used to read data from.
public CreateLocationObjectStorageRequest withBucketName(String bucketName)
The bucket on the self-managed object storage server that is used to read data from.
bucketName - The bucket on the self-managed object storage server that is used to read data from.public void setAccessKey(String accessKey)
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
accessKey - Optional. The access key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey and SecretKey to provide the user name and password, respectively.public String getAccessKey()
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
AccessKey and SecretKey to provide the user name and password, respectively.public CreateLocationObjectStorageRequest withAccessKey(String accessKey)
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
accessKey - Optional. The access key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey and SecretKey to provide the user name and password, respectively.public void setSecretKey(String secretKey)
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
secretKey - Optional. The secret key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey and SecretKey to provide the user name and password, respectively.public String getSecretKey()
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
AccessKey and SecretKey to provide the user name and password, respectively.public CreateLocationObjectStorageRequest withSecretKey(String secretKey)
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey and
SecretKey to provide the user name and password, respectively.
secretKey - Optional. The secret key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey and SecretKey to provide the user name and password, respectively.public List<String> getAgentArns()
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
public void setAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
agentArns - The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public CreateLocationObjectStorageRequest withAgentArns(String... agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server 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 - The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public CreateLocationObjectStorageRequest withAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
agentArns - The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public List<TagListEntry> getTags()
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
public void setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
string. We recommend using tags to name your resources.public CreateLocationObjectStorageRequest withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
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 - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
string. We recommend using tags to name your resources.public CreateLocationObjectStorageRequest withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
string. We recommend using tags to name your resources.public String toString()
toString in class ObjectObject.toString()public CreateLocationObjectStorageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()