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 Details

    • policyDocument

      ResourcePolicy.Builder policyDocument(String policyDocument)

      The 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.
    • policyId

      ResourcePolicy.Builder policyId(String policyId)

      The 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.
    • ramResourceShareRegion

      ResourcePolicy.Builder ramResourceShareRegion(String ramResourceShareRegion)

      The Amazon Web Services Region that policy allows resources to be used in.

      Parameters:
      ramResourceShareRegion - The Amazon Web Services Region that policy allows resources to be used in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.