Interface GetApplicationRevisionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<GetApplicationRevisionResponse.Builder,,GetApplicationRevisionResponse> SdkBuilder<GetApplicationRevisionResponse.Builder,,GetApplicationRevisionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetApplicationRevisionResponse
public static interface GetApplicationRevisionResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationRevisionResponse.Builder,GetApplicationRevisionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the application that corresponds to the revision.revision(Consumer<RevisionLocation.Builder> revision) Additional information about the revision, including type and location.revision(RevisionLocation revision) Additional information about the revision, including type and location.revisionInfo(Consumer<GenericRevisionInfo.Builder> revisionInfo) General information about the revision.revisionInfo(GenericRevisionInfo revisionInfo) General information about the revision.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 revision.
- Parameters:
applicationName- The name of the application that corresponds to the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
Additional information about the revision, including type and location.
- Parameters:
revision- Additional information about the revision, including type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
default GetApplicationRevisionResponse.Builder revision(Consumer<RevisionLocation.Builder> revision) Additional information about the revision, including type and location.
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 torevision(RevisionLocation).- Parameters:
revision- 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:
-
revisionInfo
General information about the revision.
- Parameters:
revisionInfo- General information about the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionInfo
default GetApplicationRevisionResponse.Builder revisionInfo(Consumer<GenericRevisionInfo.Builder> revisionInfo) General information about the revision.
This is a convenience method that creates an instance of theGenericRevisionInfo.Builderavoiding the need to create one manually viaGenericRevisionInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisionInfo(GenericRevisionInfo).- Parameters:
revisionInfo- a consumer that will call methods onGenericRevisionInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-