Interface PolicyPreviewConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyPreviewConfiguration.Builder,,PolicyPreviewConfiguration> SdkBuilder<PolicyPreviewConfiguration.Builder,,PolicyPreviewConfiguration> SdkPojo
- Enclosing class:
PolicyPreviewConfiguration
@Mutable
@NotThreadSafe
public static interface PolicyPreviewConfiguration.Builder
extends SdkPojo, CopyableBuilder<PolicyPreviewConfiguration.Builder,PolicyPreviewConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe time at which the policy preview configuration was created.The scope of the policy preview configuration.scope(PolicyPreviewScope scope) The scope of the policy preview configuration.The status of the policy preview configuration.status(PolicyPreviewStatus status) The status of the policy preview configuration.The time at which the policy preview configuration was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scope
The scope of the policy preview configuration. Currently only
GLOBALis supported.- Parameters:
scope- The scope of the policy preview configuration. Currently onlyGLOBALis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The scope of the policy preview configuration. Currently only
GLOBALis supported.- Parameters:
scope- The scope of the policy preview configuration. Currently onlyGLOBALis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the policy preview configuration. A value of
ACTIVEindicates the configuration is enabled and CloudTrail authorization events are being collected.- Parameters:
status- The status of the policy preview configuration. A value ofACTIVEindicates the configuration is enabled and CloudTrail authorization events are being collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the policy preview configuration. A value of
ACTIVEindicates the configuration is enabled and CloudTrail authorization events are being collected.- Parameters:
status- The status of the policy preview configuration. A value ofACTIVEindicates the configuration is enabled and CloudTrail authorization events are being collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the policy preview configuration was created.
- Parameters:
createdAt- The time at which the policy preview configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time at which the policy preview configuration was last updated.
- Parameters:
updatedAt- The time at which the policy preview configuration was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-