@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 ARN of the agent.
|
static DescribeAgentResponse.Builder |
builder() |
Instant |
creationTime()
The time that the agent was activated.
|
EndpointType |
endpointType()
The type of service
endpoint that your agent is connected to.
|
String |
endpointTypeAsString()
The type of service
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 last time that the agent was communicating with the DataSync service.
|
String |
name()
The name of the agent.
|
Platform |
platform()
The platform-related details about the agent, such as the version number.
|
PrivateLinkConfig |
privateLinkConfig()
The network configuration that the agent uses when connecting to a VPC service 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 final String agentArn()
The ARN of the agent.
public final String name()
The name of the agent.
public final AgentStatus status()
The status of the agent.
If the status is ONLINE, the agent is configured properly and ready to use.
If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
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().
If the status is ONLINE, the agent is configured properly and ready to use.
If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes
or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatuspublic final String statusAsString()
The status of the agent.
If the status is ONLINE, the agent is configured properly and ready to use.
If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
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().
If the status is ONLINE, the agent is configured properly and ready to use.
If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes
or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatuspublic final Instant lastConnectionTime()
The last time that the agent was communicating with the DataSync service.
public final Instant creationTime()
The time that the agent was activated.
public final EndpointType endpointType()
The type of service endpoint that your agent is connected to.
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 final String endpointTypeAsString()
The type of service endpoint that your agent is connected to.
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 final PrivateLinkConfig privateLinkConfig()
The network configuration that the agent uses when connecting to a VPC service endpoint.
public final Platform platform()
The platform-related details about the agent, such as the version number.
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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.