Interface GetResourceSyncStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<GetResourceSyncStatusResponse.Builder,GetResourceSyncStatusResponse>,SdkBuilder<GetResourceSyncStatusResponse.Builder,GetResourceSyncStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourceSyncStatusResponse
public static interface GetResourceSyncStatusResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<GetResourceSyncStatusResponse.Builder,GetResourceSyncStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetResourceSyncStatusResponse.BuilderdesiredState(Consumer<Revision.Builder> desiredState)The desired state of the Amazon Web Services resource for the sync status with the Git repository.GetResourceSyncStatusResponse.BuilderdesiredState(Revision desiredState)The desired state of the Amazon Web Services resource for the sync status with the Git repository.default GetResourceSyncStatusResponse.BuilderlatestSuccessfulSync(Consumer<ResourceSyncAttempt.Builder> latestSuccessfulSync)The latest successful sync for the sync status with the Git repository.GetResourceSyncStatusResponse.BuilderlatestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync)The latest successful sync for the sync status with the Git repository.default GetResourceSyncStatusResponse.BuilderlatestSync(Consumer<ResourceSyncAttempt.Builder> latestSync)The latest sync for the sync status with the Git repository, whether successful or not.GetResourceSyncStatusResponse.BuilderlatestSync(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 Detail
-
desiredState
GetResourceSyncStatusResponse.Builder desiredState(Revision 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
default GetResourceSyncStatusResponse.Builder desiredState(Consumer<Revision.Builder> 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.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:
desiredState(Revision)
-
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.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:
latestSuccessfulSync(ResourceSyncAttempt)
-
latestSync
GetResourceSyncStatusResponse.Builder latestSync(ResourceSyncAttempt 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.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:
latestSync(ResourceSyncAttempt)
-
-