@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 (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 DataSync.
|
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 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, 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 final 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 final Instant lastConnectionTime()
The time that the agent last connected to DataSync.
public final Instant creationTime()
The time that the agent was activated (that is, created in your account).
public final 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 final 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 final 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 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.