Interface GetTemplateSyncStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTemplateSyncStatusResponse.Builder,
,GetTemplateSyncStatusResponse> ProtonResponse.Builder
,SdkBuilder<GetTemplateSyncStatusResponse.Builder,
,GetTemplateSyncStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTemplateSyncStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(Consumer<Revision.Builder> desiredState) The template sync desired state that's returned by Proton.desiredState
(Revision desiredState) The template sync desired state that's returned by Proton.latestSuccessfulSync
(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The details of the last successful sync that's returned by Proton.latestSuccessfulSync
(ResourceSyncAttempt latestSuccessfulSync) The details of the last successful sync that's returned by Proton.latestSync
(Consumer<ResourceSyncAttempt.Builder> latestSync) The details of the last sync that's returned by Proton.latestSync
(ResourceSyncAttempt latestSync) The details of the last sync that's returned by Proton.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
desiredState
The template sync desired state that's returned by Proton.
- Parameters:
desiredState
- The template sync desired state that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredState
The template sync desired state that's returned by Proton.
This is a convenience method that creates an instance of theRevision.Builder
avoiding the need to create one manually viaRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todesiredState(Revision)
.- Parameters:
desiredState
- a consumer that will call methods onRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestSuccessfulSync
GetTemplateSyncStatusResponse.Builder latestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync) The details of the last successful sync that's returned by Proton.
- Parameters:
latestSuccessfulSync
- The details of the last successful sync that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSuccessfulSync
default GetTemplateSyncStatusResponse.Builder latestSuccessfulSync(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The details of the last successful sync that's returned by Proton.
This is a convenience method that creates an instance of theResourceSyncAttempt.Builder
avoiding the need to create one manually viaResourceSyncAttempt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestSuccessfulSync(ResourceSyncAttempt)
.- Parameters:
latestSuccessfulSync
- a consumer that will call methods onResourceSyncAttempt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestSync
The details of the last sync that's returned by Proton.
- Parameters:
latestSync
- The details of the last sync that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSync
default GetTemplateSyncStatusResponse.Builder latestSync(Consumer<ResourceSyncAttempt.Builder> latestSync) The details of the last sync that's returned by Proton.
This is a convenience method that creates an instance of theResourceSyncAttempt.Builder
avoiding the need to create one manually viaResourceSyncAttempt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestSync(ResourceSyncAttempt)
.- Parameters:
latestSync
- a consumer that will call methods onResourceSyncAttempt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-