Interface IndexPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IndexPolicy.Builder,IndexPolicy>,SdkBuilder<IndexPolicy.Builder,IndexPolicy>,SdkPojo
- Enclosing class:
- IndexPolicy
public static interface IndexPolicy.Builder extends SdkPojo, CopyableBuilder<IndexPolicy.Builder,IndexPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IndexPolicy.BuilderlastUpdateTime(Long lastUpdateTime)The date and time that this index policy was most recently updated.IndexPolicy.BuilderlogGroupIdentifier(String logGroupIdentifier)The ARN of the log group that this index policy applies to.IndexPolicy.BuilderpolicyDocument(String policyDocument)The policy document for this index policy, in JSON format.IndexPolicy.BuilderpolicyName(String policyName)The name of this policy.IndexPolicy.Buildersource(String source)This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.IndexPolicy.Buildersource(IndexSource source)This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logGroupIdentifier
IndexPolicy.Builder logGroupIdentifier(String logGroupIdentifier)
The ARN of the log group that this index policy applies to.
- Parameters:
logGroupIdentifier- The ARN of the log group that this index policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
IndexPolicy.Builder lastUpdateTime(Long lastUpdateTime)
The date and time that this index policy was most recently updated.
- Parameters:
lastUpdateTime- The date and time that this index policy was most recently updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
IndexPolicy.Builder policyDocument(String policyDocument)
The policy document for this index policy, in JSON format.
- Parameters:
policyDocument- The policy document for this index policy, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
IndexPolicy.Builder policyName(String policyName)
The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.
- Parameters:
policyName- The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
IndexPolicy.Builder source(String source)
This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.
- Parameters:
source- This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexSource,IndexSource
-
source
IndexPolicy.Builder source(IndexSource source)
This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.
- Parameters:
source- This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexSource,IndexSource
-
-