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 Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID that the policy applies to.lastUpdatedTime
(Long lastUpdatedTime) The date and time that this policy was most recently updated.policyDocument
(String policyDocument) The policy document for this account policy.policyName
(String policyName) The name of the account policy.policyType
(String policyType) The type of policy for this account policy.policyType
(PolicyType policyType) The type of policy for this account policy.The scope of the account policy.The scope of the account policy.selectionCriteria
(String selectionCriteria) The log group selection criteria for this subscription filter 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
-
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
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
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
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
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
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
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.
-