@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()
Optional.
|
List<String> |
getAgentArns()
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
Date |
getCreationTime()
The time that the self-managed object storage server agent was created.
|
String |
getLocationArn()
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
|
String |
getLocationUri()
The URL of the source self-managed object storage server location that was described.
|
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.
|
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 |
setCreationTime(Date creationTime)
The time that the self-managed object storage server agent was created.
|
void |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
|
void |
setLocationUri(String locationUri)
The URL of the source self-managed object storage server location that was described.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLocationObjectStorageResult |
withAccessKey(String accessKey)
Optional.
|
DescribeLocationObjectStorageResult |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
DescribeLocationObjectStorageResult |
withAgentArns(String... agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
DescribeLocationObjectStorageResult |
withCreationTime(Date creationTime)
The time that the self-managed object storage server agent was created.
|
DescribeLocationObjectStorageResult |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
|
DescribeLocationObjectStorageResult |
withLocationUri(String locationUri)
The URL of the source self-managed object storage server location that was described.
|
DescribeLocationObjectStorageResult |
withServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on.
|
DescribeLocationObjectStorageResult |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that the object storage server uses to communicate.
|
DescribeLocationObjectStorageResult |
withServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
locationArn
- The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.public String getLocationArn()
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
public DescribeLocationObjectStorageResult withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.
locationArn
- The Amazon Resource Name (ARN) of the self-managed object storage server location to describe.public void setLocationUri(String locationUri)
The URL of the source self-managed object storage server location that was described.
locationUri
- The URL of the source self-managed object storage server location that was described.public String getLocationUri()
The URL of the source self-managed object storage server location that was described.
public DescribeLocationObjectStorageResult withLocationUri(String locationUri)
The URL of the source self-managed object storage server location that was described.
locationUri
- The URL of the source self-managed object storage server location that was described.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 DescribeLocationObjectStorageResult 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 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).
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).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).
public DescribeLocationObjectStorageResult 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).
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).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.ObjectStorageServerProtocol
public String getServerProtocol()
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
ObjectStorageServerProtocol
public DescribeLocationObjectStorageResult 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.ObjectStorageServerProtocol
public DescribeLocationObjectStorageResult 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.ObjectStorageServerProtocol
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 DescribeLocationObjectStorageResult 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 DescribeLocationObjectStorageResult 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 void setCreationTime(Date creationTime)
The time that the self-managed object storage server agent was created.
creationTime
- The time that the self-managed object storage server agent was created.public Date getCreationTime()
The time that the self-managed object storage server agent was created.
public DescribeLocationObjectStorageResult withCreationTime(Date creationTime)
The time that the self-managed object storage server agent was created.
creationTime
- The time that the self-managed object storage server agent was created.public String toString()
toString
in class Object
Object.toString()
public DescribeLocationObjectStorageResult clone()