public static interface PutResourcePolicyRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutResourcePolicyRequest.Builder |
enableHybrid(EnableHybridValues enableHybrid)
Allows you to specify if you want to use both resource-level and account/catalog-level resource policies.
|
PutResourcePolicyRequest.Builder |
enableHybrid(String enableHybrid)
Allows you to specify if you want to use both resource-level and account/catalog-level resource policies.
|
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)
The ARN of the AWS Glue resource for the resource policy to be set.
|
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)
The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern
resourceArn - The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS
Glue resource ARNs, see the AWS Glue ARN string patternPutResourcePolicyRequest.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 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,
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 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,
ExistConditionPutResourcePolicyRequest.Builder enableHybrid(String enableHybrid)
Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.
The default value of NO indicates that resource-level policies cannot co-exist with an
account-level policy. A value of YES means the use of both resource-level and
account/catalog-level resource policies is allowed.
enableHybrid - Allows you to specify if you want to use both resource-level and account/catalog-level resource
policies. A resource-level policy is a policy attached to an individual resource such as a database or
a table.
The default value of NO indicates that resource-level policies cannot co-exist with an
account-level policy. A value of YES means the use of both resource-level and
account/catalog-level resource policies is allowed.
EnableHybridValues,
EnableHybridValuesPutResourcePolicyRequest.Builder enableHybrid(EnableHybridValues enableHybrid)
Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.
The default value of NO indicates that resource-level policies cannot co-exist with an
account-level policy. A value of YES means the use of both resource-level and
account/catalog-level resource policies is allowed.
enableHybrid - Allows you to specify if you want to use both resource-level and account/catalog-level resource
policies. A resource-level policy is a policy attached to an individual resource such as a database or
a table.
The default value of NO indicates that resource-level policies cannot co-exist with an
account-level policy. A value of YES means the use of both resource-level and
account/catalog-level resource policies is allowed.
EnableHybridValues,
EnableHybridValuesPutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.