Interface UpdateSubscriptionGrantStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>,DataZoneRequest.Builder,SdkBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSubscriptionGrantStatusRequest
public static interface UpdateSubscriptionGrantStatusRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<UpdateSubscriptionGrantStatusRequest.Builder,UpdateSubscriptionGrantStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSubscriptionGrantStatusRequest.BuilderassetIdentifier(String assetIdentifier)The identifier of the asset the subscription grant status of which is to be updated.UpdateSubscriptionGrantStatusRequest.BuilderdomainIdentifier(String domainIdentifier)The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.default UpdateSubscriptionGrantStatusRequest.BuilderfailureCause(Consumer<FailureCause.Builder> failureCause)Specifies the error message that is returned if the operation cannot be successfully completed.UpdateSubscriptionGrantStatusRequest.BuilderfailureCause(FailureCause failureCause)Specifies the error message that is returned if the operation cannot be successfully completed.UpdateSubscriptionGrantStatusRequest.Builderidentifier(String identifier)The identifier of the subscription grant the status of which is to be updated.UpdateSubscriptionGrantStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSubscriptionGrantStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSubscriptionGrantStatusRequest.Builderstatus(String status)The status to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusRequest.Builderstatus(SubscriptionGrantStatus status)The status to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusRequest.BuildertargetName(String targetName)The target name to be updated as part of theUpdateSubscriptionGrantStatusaction.-
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, sdkFields
-
-
-
-
Method Detail
-
assetIdentifier
UpdateSubscriptionGrantStatusRequest.Builder assetIdentifier(String 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
UpdateSubscriptionGrantStatusRequest.Builder domainIdentifier(String 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
UpdateSubscriptionGrantStatusRequest.Builder failureCause(FailureCause 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:
failureCause(FailureCause)
-
identifier
UpdateSubscriptionGrantStatusRequest.Builder identifier(String 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
UpdateSubscriptionGrantStatusRequest.Builder status(String 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:
SubscriptionGrantStatus,SubscriptionGrantStatus
-
status
UpdateSubscriptionGrantStatusRequest.Builder status(SubscriptionGrantStatus 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:
SubscriptionGrantStatus,SubscriptionGrantStatus
-
targetName
UpdateSubscriptionGrantStatusRequest.Builder targetName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSubscriptionGrantStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-