Interface PutResourcePolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>,RedshiftRequest.Builder,SdkBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutResourcePolicyRequest
public static interface PutResourcePolicyRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutResourcePolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutResourcePolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutResourcePolicyRequest.Builderpolicy(String policy)The content of the resource policy being updated.PutResourcePolicyRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceArn
PutResourcePolicyRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
PutResourcePolicyRequest.Builder policy(String policy)
The content of the resource policy being updated.
- Parameters:
policy- The content of the resource policy being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutResourcePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutResourcePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-