Interface SecurityPolicyDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SecurityPolicyDetail.Builder,
,SecurityPolicyDetail> SdkBuilder<SecurityPolicyDetail.Builder,
,SecurityPolicyDetail> SdkPojo
- Enclosing class:
SecurityPolicyDetail
@Mutable
@NotThreadSafe
public static interface SecurityPolicyDetail.Builder
extends SdkPojo, CopyableBuilder<SecurityPolicyDetail.Builder,SecurityPolicyDetail>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(Long createdDate) The date the policy was created.description
(String description) The description of the security policy.lastModifiedDate
(Long lastModifiedDate) The timestamp of when the policy was last modified.The name of the policy.The JSON policy document without any whitespaces.policyVersion
(String policyVersion) The version of the policy.The type of security policy.type
(SecurityPolicyType type) The type of security 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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of security policy.
- Parameters:
type
- The type of security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of security policy.
- Parameters:
type
- The type of security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the policy.
- Parameters:
name
- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersion
The version of the policy.
- Parameters:
policyVersion
- The version of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the security policy.
- Parameters:
description
- The description of the security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The JSON policy document without any whitespaces.
- Parameters:
policy
- The JSON policy document without any whitespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date the policy was created.
- Parameters:
createdDate
- The date the policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The timestamp of when the policy was last modified.
- Parameters:
lastModifiedDate
- The timestamp of when the policy was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-