Interface CreateSubscriptionTargetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSubscriptionTargetRequest.Builder,,CreateSubscriptionTargetRequest> DataZoneRequest.Builder,SdkBuilder<CreateSubscriptionTargetRequest.Builder,,CreateSubscriptionTargetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSubscriptionTargetRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicableAssetTypes(String... applicableAssetTypes) The asset types that can be included in the subscription target.applicableAssetTypes(Collection<String> applicableAssetTypes) The asset types that can be included in the subscription target.authorizedPrincipals(String... authorizedPrincipals) The authorized principals of the subscription target.authorizedPrincipals(Collection<String> authorizedPrincipals) The authorized principals of the subscription target.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 subscription target is created.environmentIdentifier(String environmentIdentifier) The ID of the environment in which subscription target is created.manageAccessRole(String manageAccessRole) The manage access role that is used to create the subscription target.The name of the subscription target.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The provider of the subscription target.subscriptionTargetConfig(Collection<SubscriptionTargetForm> subscriptionTargetConfig) The configuration of the subscription target.subscriptionTargetConfig(Consumer<SubscriptionTargetForm.Builder>... subscriptionTargetConfig) The configuration of the subscription target.subscriptionTargetConfig(SubscriptionTargetForm... subscriptionTargetConfig) The configuration of the subscription target.The type of the subscription target.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
-
applicableAssetTypes
CreateSubscriptionTargetRequest.Builder applicableAssetTypes(Collection<String> applicableAssetTypes) The asset types that can be included in the subscription target.
- Parameters:
applicableAssetTypes- The asset types that can be included in the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicableAssetTypes
The asset types that can be included in the subscription target.
- Parameters:
applicableAssetTypes- The asset types that can be included in the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedPrincipals
CreateSubscriptionTargetRequest.Builder authorizedPrincipals(Collection<String> authorizedPrincipals) The authorized principals of the subscription target.
- Parameters:
authorizedPrincipals- The authorized principals of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedPrincipals
The authorized principals of the subscription target.
- Parameters:
authorizedPrincipals- The authorized principals of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 subscription target is created.
- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain in which subscription target 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 subscription target is created.
- Parameters:
environmentIdentifier- The ID of the environment in which subscription target is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manageAccessRole
The manage access role that is used to create the subscription target.
- Parameters:
manageAccessRole- The manage access role that is used to create the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the subscription target.
- Parameters:
name- The name of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The provider of the subscription target.
- Parameters:
provider- The provider of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetConfig
CreateSubscriptionTargetRequest.Builder subscriptionTargetConfig(Collection<SubscriptionTargetForm> subscriptionTargetConfig) The configuration of the subscription target.
- Parameters:
subscriptionTargetConfig- The configuration of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetConfig
CreateSubscriptionTargetRequest.Builder subscriptionTargetConfig(SubscriptionTargetForm... subscriptionTargetConfig) The configuration of the subscription target.
- Parameters:
subscriptionTargetConfig- The configuration of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetConfig
CreateSubscriptionTargetRequest.Builder subscriptionTargetConfig(Consumer<SubscriptionTargetForm.Builder>... subscriptionTargetConfig) The configuration of the subscription target.
This is a convenience method that creates an instance of theSubscriptionTargetForm.Builderavoiding the need to create one manually viaSubscriptionTargetForm.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptionTargetConfig(List<SubscriptionTargetForm>).- Parameters:
subscriptionTargetConfig- a consumer that will call methods onSubscriptionTargetForm.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the subscription target.
- Parameters:
type- The type of the subscription target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSubscriptionTargetRequest.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
CreateSubscriptionTargetRequest.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.
-