Interface GrantFlowEntitlementsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GrantFlowEntitlementsRequest.Builder,,GrantFlowEntitlementsRequest> MediaConnectRequest.Builder,SdkBuilder<GrantFlowEntitlementsRequest.Builder,,GrantFlowEntitlementsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GrantFlowEntitlementsRequest
@Mutable
@NotThreadSafe
public static interface GrantFlowEntitlementsRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<GrantFlowEntitlementsRequest.Builder,GrantFlowEntitlementsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionentitlements(Collection<GrantEntitlementRequest> entitlements) The list of entitlements that you want to grant.entitlements(Consumer<GrantEntitlementRequest.Builder>... entitlements) The list of entitlements that you want to grant.entitlements(GrantEntitlementRequest... entitlements) The list of entitlements that you want to grant.The Amazon Resource Name (ARN) of the flow that you want to grant entitlements on.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.mediaconnect.model.MediaConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entitlements
The list of entitlements that you want to grant.
- Parameters:
entitlements- The list of entitlements that you want to grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The list of entitlements that you want to grant.
- Parameters:
entitlements- The list of entitlements that you want to grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
GrantFlowEntitlementsRequest.Builder entitlements(Consumer<GrantEntitlementRequest.Builder>... entitlements) The list of entitlements that you want to grant.
This is a convenience method that creates an instance of theGrantEntitlementRequest.Builderavoiding the need to create one manually viaGrantEntitlementRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentitlements(List<GrantEntitlementRequest>).- Parameters:
entitlements- a consumer that will call methods onGrantEntitlementRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowArn
The Amazon Resource Name (ARN) of the flow that you want to grant entitlements on.
- Parameters:
flowArn- The Amazon Resource Name (ARN) of the flow that you want to grant entitlements on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GrantFlowEntitlementsRequest.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
GrantFlowEntitlementsRequest.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.
-