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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationRevisionsResponse.BuildernextToken(String nextToken)If a large amount of information is returned, an identifier is also returned.ListApplicationRevisionsResponse.Builderrevisions(Collection<RevisionLocation> revisions)A list of locations that contain the matching revisions.ListApplicationRevisionsResponse.Builderrevisions(Consumer<RevisionLocation.Builder>... revisions)A list of locations that contain the matching revisions.ListApplicationRevisionsResponse.Builderrevisions(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
revisions
ListApplicationRevisionsResponse.Builder revisions(Collection<RevisionLocation> 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
ListApplicationRevisionsResponse.Builder revisions(RevisionLocation... 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
ListApplicationRevisionsResponse.Builder revisions(Consumer<RevisionLocation.Builder>... revisions)
A list of locations that contain the matching revisions.
This is a convenience method that creates an instance of theRevisionLocation.Builderavoiding the need to create one manually viaRevisionLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#revisions(List.) - 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:
#revisions(java.util.Collection)
-
nextToken
ListApplicationRevisionsResponse.Builder nextToken(String 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.
-
-