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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetContactResponse.Builderalias(String alias)The alias of the contact or escalation plan.GetContactResponse.BuildercontactArn(String contactArn)The ARN of the contact or escalation plan.GetContactResponse.BuilderdisplayName(String displayName)The full name of the contact or escalation plan.default GetContactResponse.Builderplan(Consumer<Plan.Builder> plan)Details about the specific timing or stages and targets of the escalation plan or engagement plan.GetContactResponse.Builderplan(Plan plan)Details about the specific timing or stages and targets of the escalation plan or engagement plan.GetContactResponse.Buildertype(String type)The type of contact, eitherPERSONALorESCALATION.GetContactResponse.Buildertype(ContactType type)The type of contact, eitherPERSONALorESCALATION.-
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 Detail
-
contactArn
GetContactResponse.Builder contactArn(String 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
GetContactResponse.Builder alias(String 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
GetContactResponse.Builder displayName(String 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
GetContactResponse.Builder type(String type)
The type of contact, either
PERSONALorESCALATION.- Parameters:
type- The type of contact, eitherPERSONALorESCALATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContactType,ContactType
-
type
GetContactResponse.Builder type(ContactType type)
The type of contact, either
PERSONALorESCALATION.- Parameters:
type- The type of contact, eitherPERSONALorESCALATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContactType,ContactType
-
plan
GetContactResponse.Builder plan(Plan 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
default GetContactResponse.Builder plan(Consumer<Plan.Builder> 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.Builderavoiding the need to create one manually viaPlan.builder().When the
Consumercompletes,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:
plan(Plan)
-
-