Class AcceptPageRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest
-
- software.amazon.awssdk.services.ssmcontacts.model.AcceptPageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AcceptPageRequest.Builder,AcceptPageRequest>
@Generated("software.amazon.awssdk:codegen") public final class AcceptPageRequest extends SsmContactsRequest implements ToCopyableBuilder<AcceptPageRequest.Builder,AcceptPageRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAcceptPageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceptCode()A 6-digit code used to acknowledge the page.AcceptCodeValidationacceptCodeValidation()An optional field that Incident Manager uses toENFORCEAcceptCodevalidation when acknowledging an page.StringacceptCodeValidationAsString()An optional field that Incident Manager uses toENFORCEAcceptCodevalidation when acknowledging an page.AcceptTypeacceptType()The type indicates if the page wasDELIVEREDorREAD.StringacceptTypeAsString()The type indicates if the page wasDELIVEREDorREAD.static AcceptPageRequest.Builderbuilder()StringcontactChannelId()The ARN of the contact channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnote()Information provided by the user when the user acknowledges the page.StringpageId()The Amazon Resource Name (ARN) of the engagement to a contact channel.List<SdkField<?>>sdkFields()static Class<? extends AcceptPageRequest.Builder>serializableBuilderClass()AcceptPageRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
pageId
public final String pageId()
The Amazon Resource Name (ARN) of the engagement to a contact channel.
- Returns:
- The Amazon Resource Name (ARN) of the engagement to a contact channel.
-
contactChannelId
public final String contactChannelId()
The ARN of the contact channel.
- Returns:
- The ARN of the contact channel.
-
acceptType
public final AcceptType acceptType()
The type indicates if the page was
DELIVEREDorREAD.If the service returns an enum value that is not available in the current SDK version,
acceptTypewill returnAcceptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptTypeAsString().- Returns:
- The type indicates if the page was
DELIVEREDorREAD. - See Also:
AcceptType
-
acceptTypeAsString
public final String acceptTypeAsString()
The type indicates if the page was
DELIVEREDorREAD.If the service returns an enum value that is not available in the current SDK version,
acceptTypewill returnAcceptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptTypeAsString().- Returns:
- The type indicates if the page was
DELIVEREDorREAD. - See Also:
AcceptType
-
note
public final String note()
Information provided by the user when the user acknowledges the page.
- Returns:
- Information provided by the user when the user acknowledges the page.
-
acceptCode
public final String acceptCode()
A 6-digit code used to acknowledge the page.
- Returns:
- A 6-digit code used to acknowledge the page.
-
acceptCodeValidation
public final AcceptCodeValidation acceptCodeValidation()
An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode.If the service returns an enum value that is not available in the current SDK version,
acceptCodeValidationwill returnAcceptCodeValidation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptCodeValidationAsString().- Returns:
- An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode. - See Also:
AcceptCodeValidation
-
acceptCodeValidationAsString
public final String acceptCodeValidationAsString()
An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode.If the service returns an enum value that is not available in the current SDK version,
acceptCodeValidationwill returnAcceptCodeValidation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptCodeValidationAsString().- Returns:
- An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode. - See Also:
AcceptCodeValidation
-
toBuilder
public AcceptPageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AcceptPageRequest.Builder,AcceptPageRequest>- Specified by:
toBuilderin classSsmContactsRequest
-
builder
public static AcceptPageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceptPageRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-