Interface CreateSubscriptionRequestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSubscriptionRequestRequest.Builder,
,CreateSubscriptionRequestRequest> DataZoneRequest.Builder
,SdkBuilder<CreateSubscriptionRequestRequest.Builder,
,CreateSubscriptionRequestRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSubscriptionRequestRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(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 request is created.metadataForms
(Collection<FormInput> metadataForms) The metadata form included in the subscription request.metadataForms
(Consumer<FormInput.Builder>... metadataForms) The metadata form included in the subscription request.metadataForms
(FormInput... metadataForms) The metadata form included in the subscription request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestReason
(String requestReason) The reason for the subscription request.subscribedListings
(Collection<SubscribedListingInput> subscribedListings) The published asset for which the subscription grant is to be created.subscribedListings
(Consumer<SubscribedListingInput.Builder>... subscribedListings) The published asset for which the subscription grant is to be created.subscribedListings
(SubscribedListingInput... subscribedListings) The published asset for which the subscription grant is to be created.subscribedPrincipals
(Collection<SubscribedPrincipalInput> subscribedPrincipals) The Amazon DataZone principals for whom the subscription request is created.subscribedPrincipals
(Consumer<SubscribedPrincipalInput.Builder>... subscribedPrincipals) The Amazon DataZone principals for whom the subscription request is created.subscribedPrincipals
(SubscribedPrincipalInput... subscribedPrincipals) The Amazon DataZone principals for whom the subscription request 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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 request is created.
- Parameters:
domainIdentifier
- The ID of the Amazon DataZone domain in which the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
The metadata form included in the subscription request.
- Parameters:
metadataForms
- The metadata form included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
The metadata form included in the subscription request.
- Parameters:
metadataForms
- The metadata form included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
CreateSubscriptionRequestRequest.Builder metadataForms(Consumer<FormInput.Builder>... metadataForms) The metadata form included in the subscription request.
This is a convenience method that creates an instance of theFormInput.Builder
avoiding the need to create one manually viaFormInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataForms(List<FormInput>)
.- Parameters:
metadataForms
- a consumer that will call methods onFormInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestReason
The reason for the subscription request.
- Parameters:
requestReason
- The reason for the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestRequest.Builder subscribedListings(Collection<SubscribedListingInput> subscribedListings) The published asset for which the subscription grant is to be created.
- Parameters:
subscribedListings
- The published asset for which the subscription grant is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestRequest.Builder subscribedListings(SubscribedListingInput... subscribedListings) The published asset for which the subscription grant is to be created.
- Parameters:
subscribedListings
- The published asset for which the subscription grant is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestRequest.Builder subscribedListings(Consumer<SubscribedListingInput.Builder>... subscribedListings) The published asset for which the subscription grant is to be created.
This is a convenience method that creates an instance of theSubscribedListingInput.Builder
avoiding the need to create one manually viaSubscribedListingInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribedListings(List<SubscribedListingInput>)
.- Parameters:
subscribedListings
- a consumer that will call methods onSubscribedListingInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribedPrincipals
CreateSubscriptionRequestRequest.Builder subscribedPrincipals(Collection<SubscribedPrincipalInput> subscribedPrincipals) The Amazon DataZone principals for whom the subscription request is created.
- Parameters:
subscribedPrincipals
- The Amazon DataZone principals for whom the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
CreateSubscriptionRequestRequest.Builder subscribedPrincipals(SubscribedPrincipalInput... subscribedPrincipals) The Amazon DataZone principals for whom the subscription request is created.
- Parameters:
subscribedPrincipals
- The Amazon DataZone principals for whom the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
CreateSubscriptionRequestRequest.Builder subscribedPrincipals(Consumer<SubscribedPrincipalInput.Builder>... subscribedPrincipals) The Amazon DataZone principals for whom the subscription request is created.
This is a convenience method that creates an instance of theSubscribedPrincipalInput.Builder
avoiding the need to create one manually viaSubscribedPrincipalInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribedPrincipals(List<SubscribedPrincipalInput>)
.- Parameters:
subscribedPrincipals
- a consumer that will call methods onSubscribedPrincipalInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSubscriptionRequestRequest.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
CreateSubscriptionRequestRequest.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.
-