public static interface PutResourcePolicyRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutResourcePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutResourcePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutResourcePolicyRequest.Builder |
policyExistsCondition(ExistCondition policyExistsCondition)
A value of
MUST_EXIST is used to update a policy. |
PutResourcePolicyRequest.Builder |
policyExistsCondition(String policyExistsCondition)
A value of
MUST_EXIST is used to update a policy. |
PutResourcePolicyRequest.Builder |
policyHashCondition(String policyHashCondition)
This is the hash value returned when the previous policy was set using PutResourcePolicy.
|
PutResourcePolicyRequest.Builder |
policyInJson(String policyInJson)
Contains the policy document to set, in JSON format.
|
build
overrideConfiguration
copy
applyMutation, build
PutResourcePolicyRequest.Builder policyInJson(String policyInJson)
Contains the policy document to set, in JSON format.
policyInJson
- Contains the policy document to set, in JSON format.PutResourcePolicyRequest.Builder policyHashCondition(String policyHashCondition)
This is the hash value returned when the previous policy was set using PutResourcePolicy. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.
policyHashCondition
- This is the hash value returned when the previous policy was set using PutResourcePolicy. Its purpose
is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy
has been set.PutResourcePolicyRequest.Builder policyExistsCondition(String policyExistsCondition)
A value of MUST_EXIST
is used to update a policy. A value of NOT_EXIST
is used to
create a new policy. If a value of NONE
or a null value is used, the call will not depend on the
existence of a policy.
policyExistsCondition
- A value of MUST_EXIST
is used to update a policy. A value of NOT_EXIST
is
used to create a new policy. If a value of NONE
or a null value is used, the call will
not depend on the existence of a policy.ExistCondition
,
ExistCondition
PutResourcePolicyRequest.Builder policyExistsCondition(ExistCondition policyExistsCondition)
A value of MUST_EXIST
is used to update a policy. A value of NOT_EXIST
is used to
create a new policy. If a value of NONE
or a null value is used, the call will not depend on the
existence of a policy.
policyExistsCondition
- A value of MUST_EXIST
is used to update a policy. A value of NOT_EXIST
is
used to create a new policy. If a value of NONE
or a null value is used, the call will
not depend on the existence of a policy.ExistCondition
,
ExistCondition
PutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.