Interface ListApplicationRevisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeDeployResponse.Builder
,CopyableBuilder<ListApplicationRevisionsResponse.Builder,
,ListApplicationRevisionsResponse> SdkBuilder<ListApplicationRevisionsResponse.Builder,
,ListApplicationRevisionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListApplicationRevisionsResponse
public static interface ListApplicationRevisionsResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<ListApplicationRevisionsResponse.Builder,ListApplicationRevisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf a large amount of information is returned, an identifier is also returned.revisions
(Collection<RevisionLocation> revisions) A list of locations that contain the matching revisions.revisions
(Consumer<RevisionLocation.Builder>... revisions) A list of locations that contain the matching revisions.revisions
(RevisionLocation... revisions) A list of locations that contain the matching revisions.Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
revisions
A list of locations that contain the matching revisions.
- Parameters:
revisions
- A list of locations that contain the matching revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
A list of locations that contain the matching revisions.
- Parameters:
revisions
- A list of locations that contain the matching revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
A list of locations that contain the matching revisions.
This is a convenience method that creates an instance of theRevisionLocation.Builder
avoiding the need to create one manually viaRevisionLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torevisions(List<RevisionLocation>)
.- Parameters:
revisions
- a consumer that will call methods onRevisionLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
- Parameters:
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-