Interface PolicySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicySummary.Builder,,PolicySummary> SdkBuilder<PolicySummary.Builder,,PolicySummary> SdkPojo
- Enclosing class:
PolicySummary
@Mutable
@NotThreadSafe
public static interface PolicySummary.Builder
extends SdkPojo, CopyableBuilder<PolicySummary.Builder,PolicySummary>
-
Method Summary
Modifier and TypeMethodDescriptionfirewallType(String firewallType) The firewall type associated with the resource.firewallType(PolicyFirewallType firewallType) The firewall type associated with the resource.hasPublishedVersion(Boolean hasPublishedVersion) Specifies whether a published version of the resource exists.The Amazon Resource Name (ARN) of the policy.The service-generated id of the policy.policyName(String policyName) The name of the policy.The priority of the resource.The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).status(EntityStatus status) The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).The time when the resource was last updated.The version of the resource.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
-
policyId
The service-generated id of the policy.
- Parameters:
policyId- The service-generated id of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
The Amazon Resource Name (ARN) of the policy.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
The name of the policy.
- Parameters:
policyName- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).- Parameters:
status- The current status of the resource:DRAFT(unpublished, editable) orACTIVE(published, in use).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the resource.
- Parameters:
version- The version of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasPublishedVersion
Specifies whether a published version of the resource exists.
- Parameters:
hasPublishedVersion- Specifies whether a published version of the resource exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallType
The firewall type associated with the resource.
- Parameters:
firewallType- The firewall type associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firewallType
The firewall type associated with the resource.
- Parameters:
firewallType- The firewall type associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The priority of the resource. A lower number indicates a higher priority.
- Parameters:
priority- The priority of the resource. A lower number indicates a higher priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.
- Parameters:
updatedAt- The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-