public static interface GetPolicyResponse.Builder extends MediaConvertResponse.Builder, SdkPojo, CopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
Modifier and Type | Method and Description |
---|---|
default GetPolicyResponse.Builder |
policy(Consumer<Policy.Builder> policy)
A policy configures behavior that you allow or disallow for your account.
|
GetPolicyResponse.Builder |
policy(Policy policy)
A policy configures behavior that you allow or disallow for your account.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetPolicyResponse.Builder policy(Policy policy)
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.htmldefault GetPolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
Policy.Builder
avoiding the need to create one
manually via Policy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to policy(Policy)
.
policy
- a consumer that will call methods on Policy.Builder
policy(Policy)
Copyright © 2023. All rights reserved.