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
Modifier and TypeMethodDescriptionThe resource policy formatted in JSON.resourceArn
(String resourceArn) The ARN of the resource associated with the resource policyThe current revision of the resource policy.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 Details
-
resourceArn
The ARN of the resource associated with the resource policy
- Parameters:
resourceArn
- The ARN of the resource associated with the resource policy- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The current revision of the resource policy.
- Parameters:
revision
- The current revision of the resource policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
The resource policy formatted in JSON.
- Parameters:
document
- The resource policy formatted in JSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-