public static interface PutResourcePolicyRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutResourcePolicyRequest.Builder |
enableHybrid(EnableHybridValues enableHybrid)
If
'TRUE', indicates that you are using both methods to grant cross-account access to Data
Catalog resources: |
PutResourcePolicyRequest.Builder |
enableHybrid(String enableHybrid)
If
'TRUE', indicates that you are using both methods to grant cross-account access to Data
Catalog resources: |
PutResourcePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutResourcePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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)
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.
|
PutResourcePolicyRequest.Builder |
resourceArn(String resourceArn)
Do not use.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutResourcePolicyRequest.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 resourceArn(String resourceArn)
Do not use. For internal use only.
resourceArn - Do not use. For internal use only.PutResourcePolicyRequest.Builder policyHashCondition(String policyHashCondition)
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 - 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 does 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 does
not depend on the existence of a policy.ExistCondition,
ExistConditionPutResourcePolicyRequest.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 does 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 does
not depend on the existence of a policy.ExistCondition,
ExistConditionPutResourcePolicyRequest.Builder enableHybrid(String enableHybrid)
If 'TRUE', indicates that you are using both methods to grant cross-account access to Data
Catalog resources:
By directly updating the resource policy with PutResourePolicy
By using the Grant permissions command on the Amazon Web Services Management Console.
Must be set to 'TRUE' if you have already used the Management Console to grant cross-account
access, otherwise the call fails. Default is 'FALSE'.
enableHybrid - If 'TRUE', indicates that you are using both methods to grant cross-account access to
Data Catalog resources:
By directly updating the resource policy with PutResourePolicy
By using the Grant permissions command on the Amazon Web Services Management Console.
Must be set to 'TRUE' if you have already used the Management Console to grant
cross-account access, otherwise the call fails. Default is 'FALSE'.
EnableHybridValues,
EnableHybridValuesPutResourcePolicyRequest.Builder enableHybrid(EnableHybridValues enableHybrid)
If 'TRUE', indicates that you are using both methods to grant cross-account access to Data
Catalog resources:
By directly updating the resource policy with PutResourePolicy
By using the Grant permissions command on the Amazon Web Services Management Console.
Must be set to 'TRUE' if you have already used the Management Console to grant cross-account
access, otherwise the call fails. Default is 'FALSE'.
enableHybrid - If 'TRUE', indicates that you are using both methods to grant cross-account access to
Data Catalog resources:
By directly updating the resource policy with PutResourePolicy
By using the Grant permissions command on the Amazon Web Services Management Console.
Must be set to 'TRUE' if you have already used the Management Console to grant
cross-account access, otherwise the call fails. Default is 'FALSE'.
EnableHybridValues,
EnableHybridValuesPutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.