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 theUpdateSubscriptionGrantStatus
action.status
(SubscriptionGrantStatus status) The status to be updated as part of theUpdateSubscriptionGrantStatus
action.targetName
(String targetName) The target name to be updated as part of theUpdateSubscriptionGrantStatus
action.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
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
-
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.Builder
avoiding the need to create one manually viaFailureCause.builder()
.When the
Consumer
completes,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
UpdateSubscriptionGrantStatus
action.- Parameters:
status
- The status to be updated as part of theUpdateSubscriptionGrantStatus
action.- 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
UpdateSubscriptionGrantStatus
action.- Parameters:
status
- The status to be updated as part of theUpdateSubscriptionGrantStatus
action.- 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
UpdateSubscriptionGrantStatus
action.- Parameters:
targetName
- The target name to be updated as part of theUpdateSubscriptionGrantStatus
action.- 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-