Interface BatchGetApplicationRevisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetApplicationRevisionsResponse.Builder,,BatchGetApplicationRevisionsResponse> SdkBuilder<BatchGetApplicationRevisionsResponse.Builder,,BatchGetApplicationRevisionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetApplicationRevisionsResponse
public static interface BatchGetApplicationRevisionsResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<BatchGetApplicationRevisionsResponse.Builder,BatchGetApplicationRevisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the application that corresponds to the revisions.errorMessage(String errorMessage) Information about errors that might have occurred during the API call.revisions(Collection<RevisionInfo> revisions) Additional information about the revisions, including the type and location.revisions(Consumer<RevisionInfo.Builder>... revisions) Additional information about the revisions, including the type and location.revisions(RevisionInfo... revisions) Additional information about the revisions, including the type and location.Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationName
The name of the application that corresponds to the revisions.
- Parameters:
applicationName- The name of the application that corresponds to the revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Information about errors that might have occurred during the API call.
- Parameters:
errorMessage- Information about errors that might have occurred during the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
Additional information about the revisions, including the type and location.
- Parameters:
revisions- Additional information about the revisions, including the type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
Additional information about the revisions, including the type and location.
- Parameters:
revisions- Additional information about the revisions, including the type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
Additional information about the revisions, including the type and location.
This is a convenience method that creates an instance of theRevisionInfo.Builderavoiding the need to create one manually viaRevisionInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisions(List<RevisionInfo>).- Parameters:
revisions- a consumer that will call methods onRevisionInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-