Interface AgentListEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentListEntry.Builder,
,AgentListEntry> SdkBuilder<AgentListEntry.Builder,
,AgentListEntry> SdkPojo
- Enclosing class:
AgentListEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of a DataSync agent.The name of an agent.default AgentListEntry.Builder
platform
(Consumer<Platform.Builder> platform) The platform-related details about the agent, such as the version number.The platform-related details about the agent, such as the version number.The status of an agent.status
(AgentStatus status) The status of an agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
agentArn
The Amazon Resource Name (ARN) of a DataSync agent.
- Parameters:
agentArn
- The Amazon Resource Name (ARN) of a DataSync agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of an agent.
- Parameters:
name
- The name of an agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of an 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?
- Parameters:
status
- The status of an 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?
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of an 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?
- Parameters:
status
- The status of an 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?
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
platform
The platform-related details about the agent, such as the version number.
- Parameters:
platform
- The platform-related details about the agent, such as the version number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPlatform.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplatform(Platform)
.- Parameters:
platform
- a consumer that will call methods onPlatform.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-