public static interface GetApplicationRevisionResponse.Builder extends CodeDeployResponse.Builder, CopyableBuilder<GetApplicationRevisionResponse.Builder,GetApplicationRevisionResponse>
Modifier and Type | Method and Description |
---|---|
GetApplicationRevisionResponse.Builder |
applicationName(String applicationName)
The name of the application that corresponds to the revision.
|
default GetApplicationRevisionResponse.Builder |
revision(Consumer<RevisionLocation.Builder> revision)
Additional information about the revision, including type and location.
|
GetApplicationRevisionResponse.Builder |
revision(RevisionLocation revision)
Additional information about the revision, including type and location.
|
default GetApplicationRevisionResponse.Builder |
revisionInfo(Consumer<GenericRevisionInfo.Builder> revisionInfo)
General information about the revision.
|
GetApplicationRevisionResponse.Builder |
revisionInfo(GenericRevisionInfo revisionInfo)
General information about the revision.
|
build
copy
apply, build
GetApplicationRevisionResponse.Builder applicationName(String applicationName)
The name of the application that corresponds to the revision.
applicationName
- The name of the application that corresponds to the revision.GetApplicationRevisionResponse.Builder revision(RevisionLocation revision)
Additional information about the revision, including type and location.
revision
- Additional information about the revision, including type and location.default GetApplicationRevisionResponse.Builder revision(Consumer<RevisionLocation.Builder> revision)
Additional information about the revision, including type and location.
This is a convenience that creates an instance of theRevisionLocation.Builder
avoiding the need to
create one manually via RevisionLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to revision(RevisionLocation)
.revision
- a consumer that will call methods on RevisionLocation.Builder
revision(RevisionLocation)
GetApplicationRevisionResponse.Builder revisionInfo(GenericRevisionInfo revisionInfo)
General information about the revision.
revisionInfo
- General information about the revision.default GetApplicationRevisionResponse.Builder revisionInfo(Consumer<GenericRevisionInfo.Builder> revisionInfo)
General information about the revision.
This is a convenience that creates an instance of theGenericRevisionInfo.Builder
avoiding the need
to create one manually via GenericRevisionInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to revisionInfo(GenericRevisionInfo)
.revisionInfo
- a consumer that will call methods on GenericRevisionInfo.Builder
revisionInfo(GenericRevisionInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.