Interface GetContactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetContactResponse.Builder,
,GetContactResponse> SdkBuilder<GetContactResponse.Builder,
,GetContactResponse> SdkPojo
,SdkResponse.Builder
,SsmContactsResponse.Builder
- Enclosing class:
GetContactResponse
public static interface GetContactResponse.Builder
extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<GetContactResponse.Builder,GetContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe alias of the contact or escalation plan.contactArn
(String contactArn) The ARN of the contact or escalation plan.displayName
(String displayName) The full name of the contact or escalation plan.default GetContactResponse.Builder
plan
(Consumer<Plan.Builder> plan) Details about the specific timing or stages and targets of the escalation plan or engagement plan.Details about the specific timing or stages and targets of the escalation plan or engagement plan.The type of contact, eitherPERSONAL
orESCALATION
.type
(ContactType type) The type of contact, eitherPERSONAL
orESCALATION
.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
contactArn
The ARN of the contact or escalation plan.
- Parameters:
contactArn
- The ARN of the contact or escalation plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The alias of the contact or escalation plan. The alias is unique and identifiable.
- Parameters:
alias
- The alias of the contact or escalation plan. The alias is unique and identifiable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The full name of the contact or escalation plan.
- Parameters:
displayName
- The full name of the contact or escalation plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of contact, either
PERSONAL
orESCALATION
.- Parameters:
type
- The type of contact, eitherPERSONAL
orESCALATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of contact, either
PERSONAL
orESCALATION
.- Parameters:
type
- The type of contact, eitherPERSONAL
orESCALATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plan
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
- Parameters:
plan
- Details about the specific timing or stages and targets of the escalation plan or engagement plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
This is a convenience method that creates an instance of thePlan.Builder
avoiding the need to create one manually viaPlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplan(Plan)
.- Parameters:
plan
- a consumer that will call methods onPlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-