Interface GetResourceSyncStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeStarConnectionsResponse.Builder
,CopyableBuilder<GetResourceSyncStatusResponse.Builder,
,GetResourceSyncStatusResponse> SdkBuilder<GetResourceSyncStatusResponse.Builder,
,GetResourceSyncStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourceSyncStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(Consumer<Revision.Builder> desiredState) The desired state of the Amazon Web Services resource for the sync status with the Git repository.desiredState
(Revision desiredState) The desired state of the Amazon Web Services resource for the sync status with the Git repository.latestSuccessfulSync
(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The latest successful sync for the sync status with the Git repository.latestSuccessfulSync
(ResourceSyncAttempt latestSuccessfulSync) The latest successful sync for the sync status with the Git repository.latestSync
(Consumer<ResourceSyncAttempt.Builder> latestSync) The latest sync for the sync status with the Git repository, whether successful or not.latestSync
(ResourceSyncAttempt latestSync) The latest sync for the sync status with the Git repository, whether successful or not.Methods inherited from interface software.amazon.awssdk.services.codestarconnections.model.CodeStarConnectionsResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
desiredState
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
- Parameters:
desiredState
- The desired state of the Amazon Web Services resource for the sync status with the Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredState
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
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
GetResourceSyncStatusResponse.Builder latestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync) The latest successful sync for the sync status with the Git repository.
- Parameters:
latestSuccessfulSync
- The latest successful sync for the sync status with the Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSuccessfulSync
default GetResourceSyncStatusResponse.Builder latestSuccessfulSync(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync) The latest successful sync for the sync status with the Git repository.
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 latest sync for the sync status with the Git repository, whether successful or not.
- Parameters:
latestSync
- The latest sync for the sync status with the Git repository, whether successful or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestSync
default GetResourceSyncStatusResponse.Builder latestSync(Consumer<ResourceSyncAttempt.Builder> latestSync) The latest sync for the sync status with the Git repository, whether successful or not.
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:
-