Interface GetServiceInstanceSyncStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServiceInstanceSyncStatusResponse.Builder,,GetServiceInstanceSyncStatusResponse> ProtonResponse.Builder,SdkBuilder<GetServiceInstanceSyncStatusResponse.Builder,,GetServiceInstanceSyncStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetServiceInstanceSyncStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState(Consumer<Revision.Builder> desiredState) The service instance sync desired state that's returned by ProtondesiredState(Revision desiredState) The service instance sync desired state that's returned by ProtonlatestSuccessfulSync(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The detailed data of the latest successful sync with the service instance.latestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync) The detailed data of the latest successful sync with the service instance.latestSync(Consumer<ResourceSyncAttempt.Builder> latestSync) The detailed data of the latest sync with the service instance.latestSync(ResourceSyncAttempt latestSync) The detailed data of the latest sync with the service instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
desiredState
The service instance sync desired state that's returned by Proton
- Parameters:
desiredState- The service instance sync desired state that's returned by Proton- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredState
default GetServiceInstanceSyncStatusResponse.Builder desiredState(Consumer<Revision.Builder> desiredState) The service instance sync desired state that's returned by Proton
This is a convenience method that creates an instance of theRevision.Builderavoiding the need to create one manually viaRevision.builder().When the
Consumercompletes,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
GetServiceInstanceSyncStatusResponse.Builder latestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync) The detailed data of the latest successful sync with the service instance.
- Parameters:
latestSuccessfulSync- The detailed data of the latest successful sync with the service instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSuccessfulSync
default GetServiceInstanceSyncStatusResponse.Builder latestSuccessfulSync(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The detailed data of the latest successful sync with the service instance.
This is a convenience method that creates an instance of theResourceSyncAttempt.Builderavoiding the need to create one manually viaResourceSyncAttempt.builder().When the
Consumercompletes,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 detailed data of the latest sync with the service instance.
- Parameters:
latestSync- The detailed data of the latest sync with the service instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSync
default GetServiceInstanceSyncStatusResponse.Builder latestSync(Consumer<ResourceSyncAttempt.Builder> latestSync) The detailed data of the latest sync with the service instance.
This is a convenience method that creates an instance of theResourceSyncAttempt.Builderavoiding the need to create one manually viaResourceSyncAttempt.builder().When the
Consumercompletes,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:
-