Interface CreateSubscriptionGrantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSubscriptionGrantRequest.Builder,CreateSubscriptionGrantRequest>,DataZoneRequest.Builder,SdkBuilder<CreateSubscriptionGrantRequest.Builder,CreateSubscriptionGrantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSubscriptionGrantRequest
public static interface CreateSubscriptionGrantRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateSubscriptionGrantRequest.Builder,CreateSubscriptionGrantRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSubscriptionGrantRequest.BuilderassetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)The names of the assets for which the subscription grant is created.CreateSubscriptionGrantRequest.BuilderassetTargetNames(Consumer<AssetTargetNameMap.Builder>... assetTargetNames)The names of the assets for which the subscription grant is created.CreateSubscriptionGrantRequest.BuilderassetTargetNames(AssetTargetNameMap... assetTargetNames)The names of the assets for which the subscription grant is created.CreateSubscriptionGrantRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.CreateSubscriptionGrantRequest.BuilderdomainIdentifier(String domainIdentifier)The ID of the Amazon DataZone domain in which the subscription grant is created.CreateSubscriptionGrantRequest.BuilderenvironmentIdentifier(String environmentIdentifier)The ID of the environment in which the subscription grant is created.default CreateSubscriptionGrantRequest.BuildergrantedEntity(Consumer<GrantedEntityInput.Builder> grantedEntity)The entity to which the subscription is to be granted.CreateSubscriptionGrantRequest.BuildergrantedEntity(GrantedEntityInput grantedEntity)The entity to which the subscription is to be granted.CreateSubscriptionGrantRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSubscriptionGrantRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSubscriptionGrantRequest.BuildersubscriptionTargetIdentifier(String subscriptionTargetIdentifier)The ID of the subscription target for which the subscription grant is created.-
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
-
assetTargetNames
CreateSubscriptionGrantRequest.Builder assetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)
The names of the assets for which the subscription grant is created.
- Parameters:
assetTargetNames- The names of the assets for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetTargetNames
CreateSubscriptionGrantRequest.Builder assetTargetNames(AssetTargetNameMap... assetTargetNames)
The names of the assets for which the subscription grant is created.
- Parameters:
assetTargetNames- The names of the assets for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetTargetNames
CreateSubscriptionGrantRequest.Builder assetTargetNames(Consumer<AssetTargetNameMap.Builder>... assetTargetNames)
The names of the assets for which the subscription grant is created.
This is a convenience method that creates an instance of theAssetTargetNameMap.Builderavoiding the need to create one manually viaAssetTargetNameMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assetTargetNames(List.) - Parameters:
assetTargetNames- a consumer that will call methods onAssetTargetNameMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assetTargetNames(java.util.Collection)
-
clientToken
CreateSubscriptionGrantRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
CreateSubscriptionGrantRequest.Builder domainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription grant is created.
- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain in which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentIdentifier
CreateSubscriptionGrantRequest.Builder environmentIdentifier(String environmentIdentifier)
The ID of the environment in which the subscription grant is created.
- Parameters:
environmentIdentifier- The ID of the environment in which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
CreateSubscriptionGrantRequest.Builder grantedEntity(GrantedEntityInput grantedEntity)
The entity to which the subscription is to be granted.
- Parameters:
grantedEntity- The entity to which the subscription is to be granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
default CreateSubscriptionGrantRequest.Builder grantedEntity(Consumer<GrantedEntityInput.Builder> grantedEntity)
The entity to which the subscription is to be granted.
This is a convenience method that creates an instance of theGrantedEntityInput.Builderavoiding the need to create one manually viaGrantedEntityInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntedEntity(GrantedEntityInput).- Parameters:
grantedEntity- a consumer that will call methods onGrantedEntityInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
grantedEntity(GrantedEntityInput)
-
subscriptionTargetIdentifier
CreateSubscriptionGrantRequest.Builder subscriptionTargetIdentifier(String subscriptionTargetIdentifier)
The ID of the subscription target for which the subscription grant is created.
- Parameters:
subscriptionTargetIdentifier- The ID of the subscription target for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSubscriptionGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSubscriptionGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-