public static interface PutProjectPolicyRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<PutProjectPolicyRequest.Builder,PutProjectPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutProjectPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutProjectPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutProjectPolicyRequest.Builder |
policyDocument(String policyDocument)
A resource policy to add to the model.
|
PutProjectPolicyRequest.Builder |
policyName(String policyName)
A name for the policy.
|
PutProjectPolicyRequest.Builder |
policyRevisionId(String policyRevisionId)
The revision ID for the Project Policy.
|
PutProjectPolicyRequest.Builder |
projectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that the project policy is attached to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutProjectPolicyRequest.Builder projectArn(String projectArn)
The Amazon Resource Name (ARN) of the project that the project policy is attached to.
projectArn - The Amazon Resource Name (ARN) of the project that the project policy is attached to.PutProjectPolicyRequest.Builder policyName(String policyName)
A name for the policy.
policyName - A name for the policy.PutProjectPolicyRequest.Builder policyRevisionId(String policyRevisionId)
The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels
generates and assigns a new PolicyRevisionId and then deletes the previous version of the
policy.
policyRevisionId - The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom
Labels generates and assigns a new PolicyRevisionId and then deletes the previous version
of the policy.PutProjectPolicyRequest.Builder policyDocument(String policyDocument)
A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.
policyDocument - A resource policy to add to the model. The policy is a JSON structure that contains one or more
statements that define the policy. The policy must follow the IAM syntax. For more information about
the contents of a JSON policy document, see IAM JSON policy
reference.PutProjectPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutProjectPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.