@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLocationObjectStorageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
DescribeLocationObjectStorageResponse
Constructor and Description |
---|
DescribeLocationObjectStorageResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLocationObjectStorageResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKey()
The access key (for example, a user name) required to authenticate with the object storage server.
|
List<String> |
getAgentArns()
The ARNs of the DataSync agents that can securely connect with your location.
|
Date |
getCreationTime()
The time that the location was created.
|
String |
getLocationArn()
The ARN of the object storage system location.
|
String |
getLocationUri()
The URL of the object storage system location.
|
Integer |
getServerPort()
The port that your object storage server accepts inbound network traffic on (for example, port 443).
|
String |
getServerProtocol()
The protocol that your object storage server uses to communicate.
|
int |
hashCode() |
void |
setAccessKey(String accessKey)
The access key (for example, a user name) required to authenticate with the object storage server.
|
void |
setAgentArns(Collection<String> agentArns)
The ARNs of the DataSync agents that can securely connect with your location.
|
void |
setCreationTime(Date creationTime)
The time that the location was created.
|
void |
setLocationArn(String locationArn)
The ARN of the object storage system location.
|
void |
setLocationUri(String locationUri)
The URL of the object storage system location.
|
void |
setServerPort(Integer serverPort)
The port that your object storage server accepts inbound network traffic on (for example, port 443).
|
void |
setServerProtocol(String serverProtocol)
The protocol that your object storage server uses to communicate.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLocationObjectStorageResult |
withAccessKey(String accessKey)
The access key (for example, a user name) required to authenticate with the object storage server.
|
DescribeLocationObjectStorageResult |
withAgentArns(Collection<String> agentArns)
The ARNs of the DataSync agents that can securely connect with your location.
|
DescribeLocationObjectStorageResult |
withAgentArns(String... agentArns)
The ARNs of the DataSync agents that can securely connect with your location.
|
DescribeLocationObjectStorageResult |
withCreationTime(Date creationTime)
The time that the location was created.
|
DescribeLocationObjectStorageResult |
withLocationArn(String locationArn)
The ARN of the object storage system location.
|
DescribeLocationObjectStorageResult |
withLocationUri(String locationUri)
The URL of the object storage system location.
|
DescribeLocationObjectStorageResult |
withServerPort(Integer serverPort)
The port that your object storage server accepts inbound network traffic on (for example, port 443).
|
DescribeLocationObjectStorageResult |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that your object storage server uses to communicate.
|
DescribeLocationObjectStorageResult |
withServerProtocol(String serverProtocol)
The protocol that your object storage server uses to communicate.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLocationArn(String locationArn)
The ARN of the object storage system location.
locationArn
- The ARN of the object storage system location.public String getLocationArn()
The ARN of the object storage system location.
public DescribeLocationObjectStorageResult withLocationArn(String locationArn)
The ARN of the object storage system location.
locationArn
- The ARN of the object storage system location.public void setLocationUri(String locationUri)
The URL of the object storage system location.
locationUri
- The URL of the object storage system location.public String getLocationUri()
The URL of the object storage system location.
public DescribeLocationObjectStorageResult withLocationUri(String locationUri)
The URL of the object storage system location.
locationUri
- The URL of the object storage system location.public void setAccessKey(String accessKey)
The access key (for example, a user name) required to authenticate with the object storage server.
accessKey
- The access key (for example, a user name) required to authenticate with the object storage server.public String getAccessKey()
The access key (for example, a user name) required to authenticate with the object storage server.
public DescribeLocationObjectStorageResult withAccessKey(String accessKey)
The access key (for example, a user name) required to authenticate with the object storage server.
accessKey
- The access key (for example, a user name) required to authenticate with the object storage server.public void setServerPort(Integer serverPort)
The port that your object storage server accepts inbound network traffic on (for example, port 443).
serverPort
- The port that your object storage server accepts inbound network traffic on (for example, port 443).public Integer getServerPort()
The port that your object storage server accepts inbound network traffic on (for example, port 443).
public DescribeLocationObjectStorageResult withServerPort(Integer serverPort)
The port that your object storage server accepts inbound network traffic on (for example, port 443).
serverPort
- The port that your object storage server accepts inbound network traffic on (for example, port 443).public void setServerProtocol(String serverProtocol)
The protocol that your object storage server uses to communicate.
serverProtocol
- The protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public String getServerProtocol()
The protocol that your object storage server uses to communicate.
ObjectStorageServerProtocol
public DescribeLocationObjectStorageResult withServerProtocol(String serverProtocol)
The protocol that your object storage server uses to communicate.
serverProtocol
- The protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public DescribeLocationObjectStorageResult withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that your object storage server uses to communicate.
serverProtocol
- The protocol that your object storage server uses to communicate.ObjectStorageServerProtocol
public List<String> getAgentArns()
The ARNs of the DataSync agents that can securely connect with your location.
public void setAgentArns(Collection<String> agentArns)
The ARNs of the DataSync agents that can securely connect with your location.
agentArns
- The ARNs of the DataSync agents that can securely connect with your location.public DescribeLocationObjectStorageResult withAgentArns(String... agentArns)
The 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
- The ARNs of the DataSync agents that can securely connect with your location.public DescribeLocationObjectStorageResult withAgentArns(Collection<String> agentArns)
The ARNs of the DataSync agents that can securely connect with your location.
agentArns
- The ARNs of the DataSync agents that can securely connect with your location.public void setCreationTime(Date creationTime)
The time that the location was created.
creationTime
- The time that the location was created.public Date getCreationTime()
The time that the location was created.
public DescribeLocationObjectStorageResult withCreationTime(Date creationTime)
The time that the location was created.
creationTime
- The time that the location was created.public String toString()
toString
in class Object
Object.toString()
public DescribeLocationObjectStorageResult clone()