Interface LogsConfigurationPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogsConfigurationPolicy.Builder,LogsConfigurationPolicy>,SdkBuilder<LogsConfigurationPolicy.Builder,LogsConfigurationPolicy>,SdkPojo
- Enclosing class:
- LogsConfigurationPolicy
public static interface LogsConfigurationPolicy.Builder extends SdkPojo, CopyableBuilder<LogsConfigurationPolicy.Builder,LogsConfigurationPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogsConfigurationPolicy.BuilderallowedAccountIds(String... allowedAccountIds)A list of account IDs that are allowed to access the logs.LogsConfigurationPolicy.BuilderallowedAccountIds(Collection<String> allowedAccountIds)A list of account IDs that are allowed to access the logs.LogsConfigurationPolicy.BuilderfilterPattern(String filterPattern)A regular expression pattern that is used to parse the logs and return information that matches the pattern.-
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
-
allowedAccountIds
LogsConfigurationPolicy.Builder allowedAccountIds(Collection<String> allowedAccountIds)
A list of account IDs that are allowed to access the logs.
- Parameters:
allowedAccountIds- A list of account IDs that are allowed to access the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAccountIds
LogsConfigurationPolicy.Builder allowedAccountIds(String... allowedAccountIds)
A list of account IDs that are allowed to access the logs.
- Parameters:
allowedAccountIds- A list of account IDs that are allowed to access the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterPattern
LogsConfigurationPolicy.Builder filterPattern(String filterPattern)
A regular expression pattern that is used to parse the logs and return information that matches the pattern.
- Parameters:
filterPattern- A regular expression pattern that is used to parse the logs and return information that matches the pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-