Interface AgentListEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentListEntry.Builder,AgentListEntry>,SdkBuilder<AgentListEntry.Builder,AgentListEntry>,SdkPojo
- Enclosing class:
- AgentListEntry
public static interface AgentListEntry.Builder extends SdkPojo, CopyableBuilder<AgentListEntry.Builder,AgentListEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentListEntry.BuilderagentArn(String agentArn)The Amazon Resource Name (ARN) of a DataSync agent.AgentListEntry.Buildername(String name)The name of an agent.default AgentListEntry.Builderplatform(Consumer<Platform.Builder> platform)The platform-related details about the agent, such as the version number.AgentListEntry.Builderplatform(Platform platform)The platform-related details about the agent, such as the version number.AgentListEntry.Builderstatus(String status)The status of an agent.AgentListEntry.Builderstatus(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 Detail
-
agentArn
AgentListEntry.Builder agentArn(String 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
AgentListEntry.Builder name(String 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
AgentListEntry.Builder status(String 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:
AgentStatus,AgentStatus
-
-
status
AgentListEntry.Builder status(AgentStatus 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:
AgentStatus,AgentStatus
-
-
platform
AgentListEntry.Builder platform(Platform 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
default AgentListEntry.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.Builderavoiding the need to create one manually viaPlatform.builder().When the
Consumercompletes,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:
platform(Platform)
-
-