Interface GetCaseRuleResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GetCaseRuleResponse.Builder,GetCaseRuleResponse>,SdkBuilder<GetCaseRuleResponse.Builder,GetCaseRuleResponse>,SdkPojo
- Enclosing class:
- GetCaseRuleResponse
public static interface GetCaseRuleResponse.Builder extends SdkPojo, CopyableBuilder<GetCaseRuleResponse.Builder,GetCaseRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetCaseRuleResponse.BuildercaseRuleArn(String caseRuleArn)The Amazon Resource Name (ARN) of the case rule.GetCaseRuleResponse.BuildercaseRuleId(String caseRuleId)Unique identifier of a case rule.GetCaseRuleResponse.BuildercreatedTime(Instant createdTime)Timestamp when the resource was created.GetCaseRuleResponse.Builderdeleted(Boolean deleted)Indicates whether the resource has been deleted.GetCaseRuleResponse.Builderdescription(String description)Description of a case rule.GetCaseRuleResponse.BuilderlastModifiedTime(Instant lastModifiedTime)Timestamp when the resource was created or last modified.GetCaseRuleResponse.Buildername(String name)Name of the case rule.default GetCaseRuleResponse.Builderrule(Consumer<CaseRuleDetails.Builder> rule)Represents what rule type should take place, under what conditions.GetCaseRuleResponse.Builderrule(CaseRuleDetails rule)Represents what rule type should take place, under what conditions.GetCaseRuleResponse.Buildertags(Map<String,String> tags)A map of of key-value pairs that represent tags on a resource.-
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 Detail
-
caseRuleArn
GetCaseRuleResponse.Builder caseRuleArn(String 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.
-
caseRuleId
GetCaseRuleResponse.Builder caseRuleId(String 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.
-
createdTime
GetCaseRuleResponse.Builder createdTime(Instant 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.
-
deleted
GetCaseRuleResponse.Builder deleted(Boolean 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.
-
description
GetCaseRuleResponse.Builder description(String 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.
-
lastModifiedTime
GetCaseRuleResponse.Builder lastModifiedTime(Instant 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.
-
name
GetCaseRuleResponse.Builder name(String 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.
-
rule
GetCaseRuleResponse.Builder rule(CaseRuleDetails 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
default GetCaseRuleResponse.Builder rule(Consumer<CaseRuleDetails.Builder> 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:
rule(CaseRuleDetails)
-
tags
GetCaseRuleResponse.Builder tags(Map<String,String> 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.
-
-