Interface AccountPolicy.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccountPolicy.Builder,AccountPolicy>, SdkBuilder<AccountPolicy.Builder,AccountPolicy>, SdkPojo
Enclosing class:
AccountPolicy

public static interface AccountPolicy.Builder extends SdkPojo, CopyableBuilder<AccountPolicy.Builder,AccountPolicy>
  • Method Details

    • policyName

      AccountPolicy.Builder policyName(String policyName)

      The name of the account policy.

      Parameters:
      policyName - The name of the account policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocument

      AccountPolicy.Builder policyDocument(String policyDocument)

      The policy document for this account policy.

      The JSON specified in policyDocument can be up to 30,720 characters.

      Parameters:
      policyDocument - The policy document for this account policy.

      The JSON specified in policyDocument can be up to 30,720 characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      AccountPolicy.Builder lastUpdatedTime(Long lastUpdatedTime)

      The date and time that this policy was most recently updated.

      Parameters:
      lastUpdatedTime - The date and time that this policy was most recently updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyType

      AccountPolicy.Builder policyType(String policyType)

      The type of policy for this account policy.

      Parameters:
      policyType - The type of policy for this account policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyType

      AccountPolicy.Builder policyType(PolicyType policyType)

      The type of policy for this account policy.

      Parameters:
      policyType - The type of policy for this account policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of the account policy.

      Parameters:
      scope - The scope of the account policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      The scope of the account policy.

      Parameters:
      scope - The scope of the account policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectionCriteria

      AccountPolicy.Builder selectionCriteria(String selectionCriteria)

      The log group selection criteria for this subscription filter policy.

      Parameters:
      selectionCriteria - The log group selection criteria for this subscription filter policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      AccountPolicy.Builder accountId(String accountId)

      The Amazon Web Services account ID that the policy applies to.

      Parameters:
      accountId - The Amazon Web Services account ID that the policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.