public static interface DescribeAgentResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeAgentResponse.Builder,DescribeAgentResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeAgentResponse.Builder |
agentArn(String agentArn)
The ARN of the agent.
|
DescribeAgentResponse.Builder |
creationTime(Instant creationTime)
The time that the agent was activated.
|
DescribeAgentResponse.Builder |
endpointType(EndpointType endpointType)
The type of service
endpoint that your agent is connected to.
|
DescribeAgentResponse.Builder |
endpointType(String endpointType)
The type of service
endpoint that your agent is connected to.
|
DescribeAgentResponse.Builder |
lastConnectionTime(Instant lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
|
DescribeAgentResponse.Builder |
name(String name)
The name of the agent.
|
default DescribeAgentResponse.Builder |
platform(Consumer<Platform.Builder> platform)
The platform-related details about the agent, such as the version number.
|
DescribeAgentResponse.Builder |
platform(Platform platform)
The platform-related details about the agent, such as the version number.
|
default DescribeAgentResponse.Builder |
privateLinkConfig(Consumer<PrivateLinkConfig.Builder> privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
|
DescribeAgentResponse.Builder |
privateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
|
DescribeAgentResponse.Builder |
status(AgentStatus status)
The status of the agent.
|
DescribeAgentResponse.Builder |
status(String status)
The status of the agent.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeAgentResponse.Builder agentArn(String agentArn)
The ARN of the agent.
agentArn - The ARN of the agent.DescribeAgentResponse.Builder name(String name)
The name of the agent.
name - The name of the agent.DescribeAgentResponse.Builder status(String 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?
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?
AgentStatus,
AgentStatusDescribeAgentResponse.Builder status(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?
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?
AgentStatus,
AgentStatusDescribeAgentResponse.Builder lastConnectionTime(Instant lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
lastConnectionTime - The last time that the agent was communicating with the DataSync service.DescribeAgentResponse.Builder creationTime(Instant creationTime)
The time that the agent was activated.
creationTime - The time that the agent was activated.DescribeAgentResponse.Builder endpointType(String endpointType)
The type of service endpoint that your agent is connected to.
endpointType - The type of service
endpoint that your agent is connected to.EndpointType,
EndpointTypeDescribeAgentResponse.Builder endpointType(EndpointType endpointType)
The type of service endpoint that your agent is connected to.
endpointType - The type of service
endpoint that your agent is connected to.EndpointType,
EndpointTypeDescribeAgentResponse.Builder privateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
privateLinkConfig - The network configuration that the agent uses when connecting to a VPC service endpoint.default DescribeAgentResponse.Builder privateLinkConfig(Consumer<PrivateLinkConfig.Builder> privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
This is a convenience method that creates an instance of thePrivateLinkConfig.Builder avoiding the
need to create one manually via PrivateLinkConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to privateLinkConfig(PrivateLinkConfig).
privateLinkConfig - a consumer that will call methods on PrivateLinkConfig.BuilderprivateLinkConfig(PrivateLinkConfig)DescribeAgentResponse.Builder platform(Platform platform)
The platform-related details about the agent, such as the version number.
platform - The platform-related details about the agent, such as the version number.default DescribeAgentResponse.Builder platform(Consumer<Platform.Builder> platform)
The platform-related details about the agent, such as the version number.
This is a convenience method that creates an instance of thePlatform.Builder avoiding the need to
create one manually via Platform.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to platform(Platform).
platform - a consumer that will call methods on Platform.Builderplatform(Platform)Copyright © 2023. All rights reserved.