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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest.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
-
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.Builder
avoiding the need to create one manually viaGrantEntitlementRequest.builder()
.When the
Consumer
completes,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.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
GrantFlowEntitlementsRequest.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.
-