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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountPolicy.BuilderaccountId(String accountId)The Amazon Web Services account ID that the policy applies to.AccountPolicy.BuilderlastUpdatedTime(Long lastUpdatedTime)The date and time that this policy was most recently updated.AccountPolicy.BuilderpolicyDocument(String policyDocument)The policy document for this account policy.AccountPolicy.BuilderpolicyName(String policyName)The name of the account policy.AccountPolicy.BuilderpolicyType(String policyType)The type of policy for this account policy.AccountPolicy.BuilderpolicyType(PolicyType policyType)The type of policy for this account policy.AccountPolicy.Builderscope(String scope)The scope of the account policy.AccountPolicy.Builderscope(Scope scope)The scope of the account policy.AccountPolicy.BuilderselectionCriteria(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 Detail
-
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
policyDocumentcan be up to 30,720 characters.- Parameters:
policyDocument- The policy document for this account policy.The JSON specified in
policyDocumentcan 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,PolicyType
-
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:
PolicyType,PolicyType
-
scope
AccountPolicy.Builder scope(String scope)
The scope of the account policy.
-
scope
AccountPolicy.Builder scope(Scope scope)
The scope of the account policy.
-
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.
-
-