Interface UpdateSubscriptionGrantStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,,UpdateSubscriptionGrantStatusRequest> DataZoneRequest.Builder,SdkBuilder<UpdateSubscriptionGrantStatusRequest.Builder,,UpdateSubscriptionGrantStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSubscriptionGrantStatusRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetIdentifier(String assetIdentifier) The identifier of the asset the subscription grant status of which is to be updated.domainIdentifier(String domainIdentifier) The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.failureCause(Consumer<FailureCause.Builder> failureCause) Specifies the error message that is returned if the operation cannot be successfully completed.failureCause(FailureCause failureCause) Specifies the error message that is returned if the operation cannot be successfully completed.identifier(String identifier) The identifier of the subscription grant the status of which is to be updated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The status to be updated as part of theUpdateSubscriptionGrantStatusaction.status(SubscriptionGrantStatus status) The status to be updated as part of theUpdateSubscriptionGrantStatusaction.targetName(String targetName) The target name to be updated as part of theUpdateSubscriptionGrantStatusaction.Methods 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.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assetIdentifier
The identifier of the asset the subscription grant status of which is to be updated.
- Parameters:
assetIdentifier- The identifier of the asset the subscription grant status of which is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
- Parameters:
domainIdentifier- The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCause
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
failureCause- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCause
default UpdateSubscriptionGrantStatusRequest.Builder failureCause(Consumer<FailureCause.Builder> failureCause) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theFailureCause.Builderavoiding the need to create one manually viaFailureCause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureCause(FailureCause).- Parameters:
failureCause- a consumer that will call methods onFailureCause.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identifier
The identifier of the subscription grant the status of which is to be updated.
- Parameters:
identifier- The identifier of the subscription grant the status of which is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
status- The status to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
status- The status to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetName
The target name to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
targetName- The target name to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSubscriptionGrantStatusRequest.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
UpdateSubscriptionGrantStatusRequest.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.
-