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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAgentVersionsResponse.BuilderagentVersions(Collection<AgentVersion> agentVersions)The agent versions for the specified stack or configuration manager.DescribeAgentVersionsResponse.BuilderagentVersions(Consumer<AgentVersion.Builder>... agentVersions)The agent versions for the specified stack or configuration manager.DescribeAgentVersionsResponse.BuilderagentVersions(AgentVersion... agentVersions)The agent versions for the specified stack or configuration manager.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
agentVersions
DescribeAgentVersionsResponse.Builder agentVersions(Collection<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
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
DescribeAgentVersionsResponse.Builder agentVersions(Consumer<AgentVersion.Builder>... 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 theAgentVersion.Builderavoiding the need to create one manually viaAgentVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentVersions(List.) - Parameters:
agentVersions- a consumer that will call methods onAgentVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentVersions(java.util.Collection)
-
-