Interface ResourcePolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>,SdkBuilder<ResourcePolicy.Builder,ResourcePolicy>,SdkPojo
- Enclosing class:
- ResourcePolicy
public static interface ResourcePolicy.Builder extends SdkPojo, CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourcePolicy.Builderpolicy(String policy)The content of a resource policy.ResourcePolicy.BuilderresourceArn(String resourceArn)The resources that a policy is attached to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
ResourcePolicy.Builder resourceArn(String resourceArn)
The resources that a policy is attached to.
- Parameters:
resourceArn- The resources that a policy is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
ResourcePolicy.Builder policy(String policy)
The content of a resource policy.
- Parameters:
policy- The content of a resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-