Interface UpdateRegistryRecordStatusRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRegistryRecordStatusRequest.Builder,,UpdateRegistryRecordStatusRequest> SdkBuilder<UpdateRegistryRecordStatusRequest.Builder,,UpdateRegistryRecordStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRegistryRecordStatusRequest
@Mutable
@NotThreadSafe
public static interface UpdateRegistryRecordStatusRequest.Builder
extends AgentRegistryControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateRegistryRecordStatusRequest.Builder,UpdateRegistryRecordStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the registry record to update the status of (ARN or ID)registryId(String registryId) The identifier of the registry containing the record (ARN or ID)The target status for the registry recordstatus(RegistryRecordStatus status) The target status for the registry recordstatusReason(String statusReason) The reason for the status change, for example why the record was approved, rejected, or deprecatedMethods inherited from interface software.amazon.awssdk.services.agentregistrycontrol.model.AgentRegistryControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
registryId
The identifier of the registry containing the record (ARN or ID)
- Parameters:
registryId- The identifier of the registry containing the record (ARN or ID)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordId
The identifier of the registry record to update the status of (ARN or ID)
- Parameters:
recordId- The identifier of the registry record to update the status of (ARN or ID)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The target status for the registry record
- Parameters:
status- The target status for the registry record- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The target status for the registry record
- Parameters:
status- The target status for the registry record- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the status change, for example why the record was approved, rejected, or deprecated
- Parameters:
statusReason- The reason for the status change, for example why the record was approved, rejected, or deprecated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRegistryRecordStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRegistryRecordStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-