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.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
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
-
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.
-
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.Builderavoiding the need to create one manually viaSubscribedListingInput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSubscribedPrincipalInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-