Interface ResourceSyncAttempt.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceSyncAttempt.Builder,
,ResourceSyncAttempt> SdkBuilder<ResourceSyncAttempt.Builder,
,ResourceSyncAttempt> SdkPojo
- Enclosing class:
ResourceSyncAttempt
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<ResourceSyncEvent> events) The events related to a resource sync attempt.events
(Consumer<ResourceSyncEvent.Builder>... events) The events related to a resource sync attempt.events
(ResourceSyncEvent... events) The events related to a resource sync attempt.default ResourceSyncAttempt.Builder
initialRevision
(Consumer<Revision.Builder> initialRevision) The current state of the resource as defined in the resource'sconfig-file
in the linked repository.initialRevision
(Revision initialRevision) The current state of the resource as defined in the resource'sconfig-file
in the linked repository.The start time for a resource sync attempt.The status for a resource sync attempt.status
(ResourceSyncStatus status) The status for a resource sync attempt.The name of the Amazon Web Services resource that is attempted to be synchronized.default ResourceSyncAttempt.Builder
targetRevision
(Consumer<Revision.Builder> targetRevision) The desired state of the resource as defined in the resource'sconfig-file
in the linked repository.targetRevision
(Revision targetRevision) The desired state of the resource as defined in the resource'sconfig-file
in the linked repository.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, sdkFieldNameToField, sdkFields
-
Method Details
-
events
The events related to a resource sync attempt.
- Parameters:
events
- The events related to a resource sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events related to a resource sync attempt.
- Parameters:
events
- The events related to a resource sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The events related to a resource sync attempt.
This is a convenience method that creates an instance of theResourceSyncEvent.Builder
avoiding the need to create one manually viaResourceSyncEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<ResourceSyncEvent>)
.- Parameters:
events
- a consumer that will call methods onResourceSyncEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialRevision
The current state of the resource as defined in the resource's
config-file
in the linked repository.- Parameters:
initialRevision
- The current state of the resource as defined in the resource'sconfig-file
in the linked repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialRevision
The current state of the resource as defined in the resource's
This is a convenience method that creates an instance of theconfig-file
in the linked repository.Revision.Builder
avoiding the need to create one manually viaRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitialRevision(Revision)
.- Parameters:
initialRevision
- 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:
-
startedAt
The start time for a resource sync attempt.
- Parameters:
startedAt
- The start time for a resource sync attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status for a resource sync attempt. The follow are valid statuses:
-
SYNC-INITIATED - A resource sync attempt has been created and will begin soon.
-
SYNCING - Syncing has started and work is being done to reconcile state.
-
SYNCED - Syncing has completed successfully.
-
SYNC_FAILED - A resource sync attempt has failed.
- Parameters:
status
- The status for a resource sync attempt. The follow are valid statuses:-
SYNC-INITIATED - A resource sync attempt has been created and will begin soon.
-
SYNCING - Syncing has started and work is being done to reconcile state.
-
SYNCED - Syncing has completed successfully.
-
SYNC_FAILED - A resource sync attempt has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status for a resource sync attempt. The follow are valid statuses:
-
SYNC-INITIATED - A resource sync attempt has been created and will begin soon.
-
SYNCING - Syncing has started and work is being done to reconcile state.
-
SYNCED - Syncing has completed successfully.
-
SYNC_FAILED - A resource sync attempt has failed.
- Parameters:
status
- The status for a resource sync attempt. The follow are valid statuses:-
SYNC-INITIATED - A resource sync attempt has been created and will begin soon.
-
SYNCING - Syncing has started and work is being done to reconcile state.
-
SYNCED - Syncing has completed successfully.
-
SYNC_FAILED - A resource sync attempt has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetRevision
The desired state of the resource as defined in the resource's
config-file
in the linked repository. Git sync attempts to update the resource to this state.- Parameters:
targetRevision
- The desired state of the resource as defined in the resource'sconfig-file
in the linked repository. Git sync attempts to update the resource to this state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRevision
The desired state of the resource as defined in the resource's
This is a convenience method that creates an instance of theconfig-file
in the linked repository. Git sync attempts to update the resource to this state.Revision.Builder
avoiding the need to create one manually viaRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetRevision(Revision)
.- Parameters:
targetRevision
- 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:
-
target
The name of the Amazon Web Services resource that is attempted to be synchronized.
- Parameters:
target
- The name of the Amazon Web Services resource that is attempted to be synchronized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-