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.Builderplan(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, eitherPERSONALorESCALATION.type(ContactType type) The type of contact, eitherPERSONALorESCALATION.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
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:
-
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:
-
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.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:
-