public static interface DescribeAgentVersionsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeAgentVersionsResponse.Builder,DescribeAgentVersionsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeAgentVersionsResponse.Builder |
agentVersions(AgentVersion... agentVersions)
The agent versions for the specified stack or configuration manager.
|
DescribeAgentVersionsResponse.Builder |
agentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
DescribeAgentVersionsResponse.Builder |
agentVersions(Consumer<AgentVersion.Builder>... agentVersions)
The agent versions for the specified stack or configuration manager.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeAgentVersionsResponse.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.
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.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.
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.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.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.
agentVersions - a consumer that will call methods on
AgentVersion.Builder#agentVersions(java.util.Collection) Copyright © 2023. All rights reserved.