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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetApplicationRevisionResponse.BuilderapplicationName(String applicationName)The name of the application that corresponds to the revision.default GetApplicationRevisionResponse.Builderrevision(Consumer<RevisionLocation.Builder> revision)Additional information about the revision, including type and location.GetApplicationRevisionResponse.Builderrevision(RevisionLocation revision)Additional information about the revision, including type and location.default GetApplicationRevisionResponse.BuilderrevisionInfo(Consumer<GenericRevisionInfo.Builder> revisionInfo)General information about the revision.GetApplicationRevisionResponse.BuilderrevisionInfo(GenericRevisionInfo revisionInfo)General information about the revision.-
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
-
applicationName
GetApplicationRevisionResponse.Builder applicationName(String 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
GetApplicationRevisionResponse.Builder revision(RevisionLocation 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:
revision(RevisionLocation)
-
revisionInfo
GetApplicationRevisionResponse.Builder revisionInfo(GenericRevisionInfo 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:
revisionInfo(GenericRevisionInfo)
-
-