Interface DescribeAgentVersionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeAgentVersionsResponse.Builder,DescribeAgentVersionsResponse>, OpsWorksResponse.Builder, SdkBuilder<DescribeAgentVersionsResponse.Builder,DescribeAgentVersionsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeAgentVersionsResponse

public static interface DescribeAgentVersionsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeAgentVersionsResponse.Builder,DescribeAgentVersionsResponse>
  • Method Details

    • agentVersions

      The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.

      Parameters:
      agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentVersions

      DescribeAgentVersionsResponse.Builder agentVersions(AgentVersion... agentVersions)

      The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.

      Parameters:
      agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentVersions

      The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.

      This is a convenience method that creates an instance of the AgentVersion.Builder avoiding the need to create one manually via AgentVersion.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentVersions(List<AgentVersion>).

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