public static interface PutSinkPolicyRequest.Builder extends OamRequest.Builder, SdkPojo, CopyableBuilder<PutSinkPolicyRequest.Builder,PutSinkPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutSinkPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutSinkPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutSinkPolicyRequest.Builder |
policy(String policy)
The JSON policy to use.
|
PutSinkPolicyRequest.Builder |
sinkIdentifier(String sinkIdentifier)
The ARN of the sink to attach this policy to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutSinkPolicyRequest.Builder sinkIdentifier(String sinkIdentifier)
The ARN of the sink to attach this policy to.
sinkIdentifier - The ARN of the sink to attach this policy to.PutSinkPolicyRequest.Builder policy(String policy)
The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here.
The policy must be in JSON string format with quotation marks escaped and no newlines.
For examples of different types of policies, see the Examples section on this page.
policy - The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced
by what you specify here.
The policy must be in JSON string format with quotation marks escaped and no newlines.
For examples of different types of policies, see the Examples section on this page.
PutSinkPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutSinkPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.