Interface GetPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPolicyResponse.Builder,,GetPolicyResponse> MediaConvertResponse.Builder,SdkBuilder<GetPolicyResponse.Builder,,GetPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPolicyResponse
public static interface GetPolicyResponse.Builder
extends MediaConvertResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPolicyResponse.Builderpolicy(Consumer<Policy.Builder> policy) A policy configures behavior that you allow or disallow for your account.A policy configures behavior that you allow or disallow for your account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconvert.model.MediaConvertResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
policy
A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Parameters:
policy- A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html This is a convenience method that creates an instance of thePolicy.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(Policy).- Parameters:
policy- a consumer that will call methods onPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-