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 Details

    • 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

      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

      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 the Platform.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).

      Parameters:
      platform - a consumer that will call methods on Platform.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: