Class ListContactsRequest
- 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.ListContactsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListContactsRequest.Builder,ListContactsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListContactsRequest extends SsmContactsRequest implements ToCopyableBuilder<ListContactsRequest.Builder,ListContactsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListContactsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaliasPrefix()Used to list only contacts who's aliases start with the specified prefix.static ListContactsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of contacts and escalation plans per page of results.StringnextToken()The pagination token to continue to the next page of results.List<SdkField<?>>sdkFields()static Class<? extends ListContactsRequest.Builder>serializableBuilderClass()ListContactsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ContactTypetype()The type of contact.StringtypeAsString()The type of contact.-
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
-
nextToken
public final String nextToken()
The pagination token to continue to the next page of results.
- Returns:
- The pagination token to continue to the next page of results.
-
maxResults
public final Integer maxResults()
The maximum number of contacts and escalation plans per page of results.
- Returns:
- The maximum number of contacts and escalation plans per page of results.
-
aliasPrefix
public final String aliasPrefix()
Used to list only contacts who's aliases start with the specified prefix.
- Returns:
- Used to list only contacts who's aliases start with the specified prefix.
-
type
public final ContactType type()
The type of contact. A contact is type
PERSONALand an escalation plan is typeESCALATION.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. A contact is type
PERSONALand an escalation plan is typeESCALATION. - See Also:
ContactType
-
typeAsString
public final String typeAsString()
The type of contact. A contact is type
PERSONALand an escalation plan is typeESCALATION.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. A contact is type
PERSONALand an escalation plan is typeESCALATION. - See Also:
ContactType
-
toBuilder
public ListContactsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListContactsRequest.Builder,ListContactsRequest>- Specified by:
toBuilderin classSsmContactsRequest
-
builder
public static ListContactsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListContactsRequest.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
-
-