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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenA 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.
 
- 
domainIdentifierThe 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.
 
- 
metadataFormsThe 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.
 
- 
metadataFormsThe 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.
 
- 
metadataFormsCreateSubscriptionRequestRequest.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.Builderavoiding the need to create one manually viaFormInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataForms(List<FormInput>).- Parameters:
- metadataForms- a consumer that will call methods on- FormInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requestReasonThe 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.
 
- 
subscribedListingsCreateSubscriptionRequestRequest.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.
 
- 
subscribedListingsCreateSubscriptionRequestRequest.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.
 
- 
subscribedListingsCreateSubscriptionRequestRequest.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 on- SubscribedListingInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscribedPrincipalsCreateSubscriptionRequestRequest.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.
 
- 
subscribedPrincipalsCreateSubscriptionRequestRequest.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.
 
- 
subscribedPrincipalsCreateSubscriptionRequestRequest.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 on- SubscribedPrincipalInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateSubscriptionRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateSubscriptionRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-