Class GetContactResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
-
- software.amazon.awssdk.services.ssmcontacts.model.GetContactResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetContactResponse.Builder,GetContactResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetContactResponse extends SsmContactsResponse implements ToCopyableBuilder<GetContactResponse.Builder,GetContactResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetContactResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringalias()The alias of the contact or escalation plan.static GetContactResponse.Builderbuilder()StringcontactArn()The ARN of the contact or escalation plan.StringdisplayName()The full name of the contact or escalation plan.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Planplan()Details about the specific timing or stages and targets of the escalation plan or engagement plan.List<SdkField<?>>sdkFields()static Class<? extends GetContactResponse.Builder>serializableBuilderClass()GetContactResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.ContactTypetype()The type of contact, eitherPERSONALorESCALATION.StringtypeAsString()The type of contact, eitherPERSONALorESCALATION.-
Methods inherited from class software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
contactArn
public final String contactArn()
The ARN of the contact or escalation plan.
- Returns:
- The ARN of the contact or escalation plan.
-
alias
public final String alias()
The alias of the contact or escalation plan. The alias is unique and identifiable.
- Returns:
- The alias of the contact or escalation plan. The alias is unique and identifiable.
-
displayName
public final String displayName()
The full name of the contact or escalation plan.
- Returns:
- The full name of the contact or escalation plan.
-
type
public final ContactType type()
The type of contact, either
PERSONALorESCALATION.If the service returns an enum value that is not available in the current SDK version,
typewill returnContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of contact, either
PERSONALorESCALATION. - See Also:
ContactType
-
typeAsString
public final String typeAsString()
The type of contact, either
PERSONALorESCALATION.If the service returns an enum value that is not available in the current SDK version,
typewill returnContactType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of contact, either
PERSONALorESCALATION. - See Also:
ContactType
-
plan
public final Plan plan()
Details about the specific timing or stages and targets of the escalation plan or engagement plan.
- Returns:
- Details about the specific timing or stages and targets of the escalation plan or engagement plan.
-
toBuilder
public GetContactResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetContactResponse.Builder,GetContactResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetContactResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetContactResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-