Interface GrantFlowEntitlementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GrantFlowEntitlementsResponse.Builder,
,GrantFlowEntitlementsResponse> MediaConnectResponse.Builder
,SdkBuilder<GrantFlowEntitlementsResponse.Builder,
,GrantFlowEntitlementsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GrantFlowEntitlementsResponse
public static interface GrantFlowEntitlementsResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<GrantFlowEntitlementsResponse.Builder,GrantFlowEntitlementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentitlements
(Collection<Entitlement> entitlements) The entitlements that were just granted.entitlements
(Consumer<Entitlement.Builder>... entitlements) The entitlements that were just granted.entitlements
(Entitlement... entitlements) The entitlements that were just granted.The ARN of the flow that these entitlements were granted to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entitlements
The entitlements that were just granted.- Parameters:
entitlements
- The entitlements that were just granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements that were just granted.- Parameters:
entitlements
- The entitlements that were just granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements that were just granted. This is a convenience method that creates an instance of theEntitlement.Builder
avoiding the need to create one manually viaEntitlement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlements(List<Entitlement>)
.- Parameters:
entitlements
- a consumer that will call methods onEntitlement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowArn
The ARN of the flow that these entitlements were granted to.- Parameters:
flowArn
- The ARN of the flow that these entitlements were granted to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-