Interface RecordVisibilityConfigurationState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecordVisibilityConfigurationState.Builder,,RecordVisibilityConfigurationState> SdkBuilder<RecordVisibilityConfigurationState.Builder,,RecordVisibilityConfigurationState> SdkPojo
- Enclosing class:
RecordVisibilityConfigurationState
-
Method Summary
Modifier and TypeMethodDescriptionThe configuration in force.The configuration in force.The change that hasn't taken effect yet.The change that hasn't taken effect yet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
current
The configuration in force. Absent when the registry has no configuration.
- Parameters:
current- The configuration in force. Absent when the registry has no configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
current
default RecordVisibilityConfigurationState.Builder current(Consumer<CurrentRecordVisibilityConfiguration.Builder> current) The configuration in force. Absent when the registry has no configuration.
This is a convenience method that creates an instance of theCurrentRecordVisibilityConfiguration.Builderavoiding the need to create one manually viaCurrentRecordVisibilityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrent(CurrentRecordVisibilityConfiguration).- Parameters:
current- a consumer that will call methods onCurrentRecordVisibilityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pending
The change that hasn't taken effect yet. While the registry is
UPDATE_FAILEDwith this change pending, anUpdateRegistryrequest withoutrecordVisibilityConfigurationfails with aConflictException.- Parameters:
pending- The change that hasn't taken effect yet. While the registry isUPDATE_FAILEDwith this change pending, anUpdateRegistryrequest withoutrecordVisibilityConfigurationfails with aConflictException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pending
default RecordVisibilityConfigurationState.Builder pending(Consumer<PendingRecordVisibilityConfiguration.Builder> pending) The change that hasn't taken effect yet. While the registry is
This is a convenience method that creates an instance of theUPDATE_FAILEDwith this change pending, anUpdateRegistryrequest withoutrecordVisibilityConfigurationfails with aConflictException.PendingRecordVisibilityConfiguration.Builderavoiding the need to create one manually viaPendingRecordVisibilityConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topending(PendingRecordVisibilityConfiguration).- Parameters:
pending- a consumer that will call methods onPendingRecordVisibilityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-