public static interface ValidateResourcePolicyRequest.Builder extends SecretsManagerRequest.Builder, SdkPojo, CopyableBuilder<ValidateResourcePolicyRequest.Builder,ValidateResourcePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
ValidateResourcePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ValidateResourcePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ValidateResourcePolicyRequest.Builder |
resourcePolicy(String resourcePolicy)
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services
resource-based policy.
|
ValidateResourcePolicyRequest.Builder |
secretId(String secretId)
(Optional) The identifier of the secret with the resource-based policy you want to validate.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildValidateResourcePolicyRequest.Builder secretId(String secretId)
(Optional) The identifier of the secret with the resource-based policy you want to validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
secretId - (Optional) The identifier of the secret with the resource-based policy you want to validate. You can
specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
ValidateResourcePolicyRequest.Builder resourcePolicy(String resourcePolicy)
A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.publi
resourcePolicy - A JSON-formatted string constructed according to the grammar and syntax for an Amazon Web Services
resource-based policy. The policy in the string identifies who can access or manage this secret and
its versions. For information on how to format a JSON parameter for the various command line tool
environments, see Using
JSON for Parameters in the CLI User Guide.publiValidateResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderValidateResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.