Interface CreateSubscriptionGrantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSubscriptionGrantRequest.Builder,,CreateSubscriptionGrantRequest> DataZoneRequest.Builder,SdkBuilder<CreateSubscriptionGrantRequest.Builder,,CreateSubscriptionGrantRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSubscriptionGrantRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetTargetNames(Collection<AssetTargetNameMap> assetTargetNames) The names of the assets for which the subscription grant is created.assetTargetNames(Consumer<AssetTargetNameMap.Builder>... assetTargetNames) The names of the assets for which the subscription grant is created.assetTargetNames(AssetTargetNameMap... assetTargetNames) The names of the assets for which the subscription grant is created.clientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.domainIdentifier(String domainIdentifier) The ID of the Amazon DataZone domain in which the subscription grant is created.environmentIdentifier(String environmentIdentifier) The ID of the environment in which the subscription grant is created.grantedEntity(Consumer<GrantedEntityInput.Builder> grantedEntity) The entity to which the subscription is to be granted.grantedEntity(GrantedEntityInput grantedEntity) The entity to which the subscription is to be granted.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subscriptionTargetIdentifier(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
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
-
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
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 toassetTargetNames(List<AssetTargetNameMap>).- 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:
-
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
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
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
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:
-
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) 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
CreateSubscriptionGrantRequest.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.
-