Interface CreateTemplateSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTemplateSnapshotResponse.Builder,,CreateTemplateSnapshotResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<CreateTemplateSnapshotResponse.Builder,,CreateTemplateSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateTemplateSnapshotResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedRuleList(Collection<AssociatedRule> associatedRuleList) The rules associated with the template.associatedRuleList(Consumer<AssociatedRule.Builder>... associatedRuleList) The rules associated with the template.associatedRuleList(AssociatedRule... associatedRuleList) The rules associated with the template.firewallType(String firewallType) The firewall type associated with the resource.firewallType(TemplateFirewallType 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 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).templateArn(String templateArn) The Amazon Resource Name (ARN) of the template.templateDescription(String templateDescription) A description of the template.templateId(String templateId) The service-generated id of the template.templateName(String templateName) The name of the template.The time when the snapshot was created.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
-
templateId
The service-generated id of the template.
- Parameters:
templateId- The service-generated id of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateArn
The Amazon Resource Name (ARN) of the template.
- Parameters:
templateArn- The Amazon Resource Name (ARN) of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the template.
- Parameters:
templateName- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDescription
A description of the template.
- Parameters:
templateDescription- A description of the template.- 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.
-
associatedRuleList
CreateTemplateSnapshotResponse.Builder associatedRuleList(Collection<AssociatedRule> associatedRuleList) The rules associated with the template.
- Parameters:
associatedRuleList- The rules associated with the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRuleList
The rules associated with the template.
- Parameters:
associatedRuleList- The rules associated with the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRuleList
CreateTemplateSnapshotResponse.Builder associatedRuleList(Consumer<AssociatedRule.Builder>... associatedRuleList) The rules associated with the template.
This is a convenience method that creates an instance of theAssociatedRule.Builderavoiding the need to create one manually viaAssociatedRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedRuleList(List<AssociatedRule>).- Parameters:
associatedRuleList- a consumer that will call methods onAssociatedRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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:
-
updatedAt
The time when the snapshot was created.
- Parameters:
updatedAt- The time when the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-