Interface BatchGetApplicationRevisionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeDeployRequest.Builder
,CopyableBuilder<BatchGetApplicationRevisionsRequest.Builder,
,BatchGetApplicationRevisionsRequest> SdkBuilder<BatchGetApplicationRevisionsRequest.Builder,
,BatchGetApplicationRevisionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchGetApplicationRevisionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of an CodeDeploy application about which to get revision information.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revisions
(Collection<RevisionLocation> revisions) An array ofRevisionLocation
objects that specify information to get about the application revisions, including type and location.revisions
(Consumer<RevisionLocation.Builder>... revisions) An array ofRevisionLocation
objects that specify information to get about the application revisions, including type and location.revisions
(RevisionLocation... revisions) An array ofRevisionLocation
objects that specify information to get about the application revisions, including type and location.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
build
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
-
Method Details
-
applicationName
The name of an CodeDeploy application about which to get revision information.
- Parameters:
applicationName
- The name of an CodeDeploy application about which to get revision information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
An array of
RevisionLocation
objects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocation
objects you can specify is 25.- Parameters:
revisions
- An array ofRevisionLocation
objects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocation
objects you can specify is 25.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
An array of
RevisionLocation
objects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocation
objects you can specify is 25.- Parameters:
revisions
- An array ofRevisionLocation
objects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocation
objects you can specify is 25.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
BatchGetApplicationRevisionsRequest.Builder revisions(Consumer<RevisionLocation.Builder>... revisions) An array of
This is a convenience method that creates an instance of theRevisionLocation
objects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocation
objects you can specify is 25.RevisionLocation.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:
-
overrideConfiguration
BatchGetApplicationRevisionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetApplicationRevisionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-