Interface UpdateRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateRuleResponse.Builder,,UpdateRuleResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<UpdateRuleResponse.Builder,,UpdateRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Document configuration) The firewall configuration for the rule, as a JSON document.firewallType(String firewallType) The firewall type associated with the resource.firewallType(RuleFirewallType firewallType) The firewall type associated with the resource.hasPublishedVersion(Boolean hasPublishedVersion) Specifies whether a published version of the resource exists.isSnapshot(Boolean isSnapshot) Specifies whether the resource is a snapshot of a published version.The Amazon Resource Name (ARN) of the rule.ruleDescription(String ruleDescription) A description of the rule.The service-generated id of the rule.The name of the rule.The type of the rule.The type of the rule.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.updateToken(String updateToken) A token used for optimistic concurrency control.The version of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ruleId
The service-generated id of the rule.
- Parameters:
ruleId- The service-generated id of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleArn
The Amazon Resource Name (ARN) of the rule.
- Parameters:
ruleArn- The Amazon Resource Name (ARN) of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleName
The name of the rule.
- Parameters:
ruleName- The name of the rule.- 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:
-
ruleType
The type of the rule.
CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Parameters:
ruleType- The type of the rule.CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleType
The type of the rule.
CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Parameters:
ruleType- The type of the rule.CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleDescription
A description of the rule.
- Parameters:
ruleDescription- A description of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.
- Parameters:
configuration- The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.- 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.
-
updateToken
A token used for optimistic concurrency control. Each read and write returns an
updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Parameters:
updateToken- A token used for optimistic concurrency control. Each read and write returns anupdateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSnapshot
Specifies whether the resource is a snapshot of a published version.
- Parameters:
isSnapshot- Specifies whether the resource is a snapshot of a published version.- 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.
-
updatedAt
The time when the resource was last updated.
- Parameters:
updatedAt- The time when the resource was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-