Class ListPhoneNumbersRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.chime.model.ChimeRequest
-
- software.amazon.awssdk.services.chime.model.ListPhoneNumbersRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPhoneNumbersRequest.Builder,ListPhoneNumbersRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPhoneNumbersRequest extends ChimeRequest implements ToCopyableBuilder<ListPhoneNumbersRequest.Builder,ListPhoneNumbersRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPhoneNumbersRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPhoneNumbersRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PhoneNumberAssociationNamefilterName()The filter to use to limit the number of results.StringfilterNameAsString()The filter to use to limit the number of results.StringfilterValue()The value to use for the filter.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in a single call.StringnextToken()The token to use to retrieve the next page of results.PhoneNumberProductTypeproductType()The phone number product type.StringproductTypeAsString()The phone number product type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListPhoneNumbersRequest.Builder>serializableBuilderClass()PhoneNumberStatusstatus()The phone number status.StringstatusAsString()The phone number status.ListPhoneNumbersRequest.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
-
status
public final PhoneNumberStatus status()
The phone number status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPhoneNumberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The phone number status.
- See Also:
PhoneNumberStatus
-
statusAsString
public final String statusAsString()
The phone number status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnPhoneNumberStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The phone number status.
- See Also:
PhoneNumberStatus
-
productType
public final PhoneNumberProductType productType()
The phone number product type.
If the service returns an enum value that is not available in the current SDK version,
productTypewill returnPhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductTypeAsString().- Returns:
- The phone number product type.
- See Also:
PhoneNumberProductType
-
productTypeAsString
public final String productTypeAsString()
The phone number product type.
If the service returns an enum value that is not available in the current SDK version,
productTypewill returnPhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductTypeAsString().- Returns:
- The phone number product type.
- See Also:
PhoneNumberProductType
-
filterName
public final PhoneNumberAssociationName filterName()
The filter to use to limit the number of results.
If the service returns an enum value that is not available in the current SDK version,
filterNamewill returnPhoneNumberAssociationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterNameAsString().- Returns:
- The filter to use to limit the number of results.
- See Also:
PhoneNumberAssociationName
-
filterNameAsString
public final String filterNameAsString()
The filter to use to limit the number of results.
If the service returns an enum value that is not available in the current SDK version,
filterNamewill returnPhoneNumberAssociationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfilterNameAsString().- Returns:
- The filter to use to limit the number of results.
- See Also:
PhoneNumberAssociationName
-
filterValue
public final String filterValue()
The value to use for the filter.
- Returns:
- The value to use for the filter.
-
maxResults
public final Integer maxResults()
The maximum number of results to return in a single call.
- Returns:
- The maximum number of results to return in a single call.
-
nextToken
public final String nextToken()
The token to use to retrieve the next page of results.
- Returns:
- The token to use to retrieve the next page of results.
-
toBuilder
public ListPhoneNumbersRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPhoneNumbersRequest.Builder,ListPhoneNumbersRequest>- Specified by:
toBuilderin classChimeRequest
-
builder
public static ListPhoneNumbersRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPhoneNumbersRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-