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 ofRevisionLocationobjects that specify information to get about the application revisions, including type and location.revisions(Consumer<RevisionLocation.Builder>... revisions) An array ofRevisionLocationobjects that specify information to get about the application revisions, including type and location.revisions(RevisionLocation... revisions) An array ofRevisionLocationobjects that specify information to get about the application revisions, including type and location.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
RevisionLocationobjects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocationobjects you can specify is 25.- Parameters:
revisions- An array ofRevisionLocationobjects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocationobjects you can specify is 25.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
An array of
RevisionLocationobjects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocationobjects you can specify is 25.- Parameters:
revisions- An array ofRevisionLocationobjects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocationobjects 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 theRevisionLocationobjects that specify information to get about the application revisions, including type and location. The maximum number ofRevisionLocationobjects you can specify is 25.RevisionLocation.Builderavoiding the need to create one manually viaRevisionLocation.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-