Interface UpdateFlowEntitlementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateFlowEntitlementResponse.Builder,
,UpdateFlowEntitlementResponse> MediaConnectResponse.Builder
,SdkBuilder<UpdateFlowEntitlementResponse.Builder,
,UpdateFlowEntitlementResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateFlowEntitlementResponse
@Mutable
@NotThreadSafe
public static interface UpdateFlowEntitlementResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateFlowEntitlementResponse.Builder,UpdateFlowEntitlementResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentitlement
(Consumer<Entitlement.Builder> entitlement) The new configuration of the entitlement that you updated.entitlement
(Entitlement entitlement) The new configuration of the entitlement that you updated.The ARN of the flow that this entitlement was granted on.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entitlement
The new configuration of the entitlement that you updated.
- Parameters:
entitlement
- The new configuration of the entitlement that you updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlement
default UpdateFlowEntitlementResponse.Builder entitlement(Consumer<Entitlement.Builder> entitlement) The new configuration of the entitlement that you updated.
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 toentitlement(Entitlement)
.- Parameters:
entitlement
- 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 this entitlement was granted on.
- Parameters:
flowArn
- The ARN of the flow that this entitlement was granted on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-