@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAgentResponse extends DataSyncResponse implements ToCopyableBuilder<DescribeAgentResponse.Builder,DescribeAgentResponse>
DescribeAgentResponse
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAgentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentArn()
The Amazon Resource Name (ARN) of the agent.
|
static DescribeAgentResponse.Builder |
builder() |
Instant |
creationTime()
The time that the agent was activated (that is, created in your account).
|
EndpointType |
endpointType()
The type of endpoint that your agent is connected to.
|
String |
endpointTypeAsString()
The type of endpoint that your agent is connected to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastConnectionTime()
The time that the agent last connected to DataSyc.
|
String |
name()
The name of the agent.
|
PrivateLinkConfig |
privateLinkConfig()
The subnet and the security group that DataSync used to access a VPC endpoint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAgentResponse.Builder> |
serializableBuilderClass() |
AgentStatus |
status()
The status of the agent.
|
String |
statusAsString()
The status of the agent.
|
DescribeAgentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String agentArn()
The Amazon Resource Name (ARN) of the agent.
public String name()
The name of the agent.
public AgentStatus status()
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
If the service returns an enum value that is not available in the current SDK version, status will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AgentStatuspublic String statusAsString()
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
If the service returns an enum value that is not available in the current SDK version, status will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AgentStatuspublic Instant lastConnectionTime()
The time that the agent last connected to DataSyc.
public Instant creationTime()
The time that the agent was activated (that is, created in your account).
public EndpointType endpointType()
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
endpointTypeAsString().
EndpointTypepublic String endpointTypeAsString()
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
If the service returns an enum value that is not available in the current SDK version, endpointType will
return EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
endpointTypeAsString().
EndpointTypepublic PrivateLinkConfig privateLinkConfig()
The subnet and the security group that DataSync used to access a VPC endpoint.
public DescribeAgentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAgentResponse.Builder,DescribeAgentResponse>toBuilder in class AwsResponsepublic static DescribeAgentResponse.Builder builder()
public static Class<? extends DescribeAgentResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.