public static interface DescribeAgentVersionsResponse.Builder extends OpsWorksResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
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.
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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #agentVersions(List)
.agentVersions
- a consumer that will call methods on List.Builder
#agentVersions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.