Interface GetCaseRuleResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetCaseRuleResponse.Builder,,GetCaseRuleResponse> SdkBuilder<GetCaseRuleResponse.Builder,,GetCaseRuleResponse> SdkPojo
- Enclosing class:
GetCaseRuleResponse
@Mutable
@NotThreadSafe
public static interface GetCaseRuleResponse.Builder
extends SdkPojo, CopyableBuilder<GetCaseRuleResponse.Builder,GetCaseRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncaseRuleArn(String caseRuleArn) The Amazon Resource Name (ARN) of the case rule.caseRuleId(String caseRuleId) Unique identifier of a case rule.createdTime(Instant createdTime) Timestamp when the resource was created.Indicates whether the resource has been deleted.description(String description) Description of a case rule.lastModifiedTime(Instant lastModifiedTime) Timestamp when the resource was created or last modified.Name of the case rule.default GetCaseRuleResponse.Builderrule(Consumer<CaseRuleDetails.Builder> rule) Represents what rule type should take place, under what conditions.rule(CaseRuleDetails rule) Represents what rule type should take place, under what conditions.A map of of key-value pairs that represent tags on a 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
-
caseRuleId
Unique identifier of a case rule.
- Parameters:
caseRuleId- Unique identifier of a case rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the case rule.
- Parameters:
name- Name of the case rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseRuleArn
The Amazon Resource Name (ARN) of the case rule.
- Parameters:
caseRuleArn- The Amazon Resource Name (ARN) of the case rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
Represents what rule type should take place, under what conditions.
- Parameters:
rule- Represents what rule type should take place, under what conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
Represents what rule type should take place, under what conditions.
This is a convenience method that creates an instance of theCaseRuleDetails.Builderavoiding the need to create one manually viaCaseRuleDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(CaseRuleDetails).- Parameters:
rule- a consumer that will call methods onCaseRuleDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Description of a case rule.
- Parameters:
description- Description of a case rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
Indicates whether the resource has been deleted.
- Parameters:
deleted- Indicates whether the resource has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
Timestamp when the resource was created.
- Parameters:
createdTime- Timestamp when the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Timestamp when the resource was created or last modified.
- Parameters:
lastModifiedTime- Timestamp when the resource was created or last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
- Parameters:
tags- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-