Interface ResourcePolicy.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ResourcePolicy.Builder,,- ResourcePolicy> - SdkBuilder<ResourcePolicy.Builder,,- ResourcePolicy> - SdkPojo
- Enclosing class:
- ResourcePolicy
@Mutable
@NotThreadSafe
public static interface ResourcePolicy.Builder
extends SdkPojo, CopyableBuilder<ResourcePolicy.Builder,ResourcePolicy> 
- 
Method SummaryModifier and TypeMethodDescriptionpolicyDocument(String policyDocument) The JSON blob that describes the policy.The ID of the resource policy.ramResourceShareRegion(String ramResourceShareRegion) The Amazon Web Services Region that policy allows resources to be used in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
policyDocumentThe JSON blob that describes the policy. - Parameters:
- policyDocument- The JSON blob that describes the policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyIdThe ID of the resource policy. - Parameters:
- policyId- The ID of the resource policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-