Class PutProtectConfigurationRuleSetNumberOverrideResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PutProtectConfigurationRuleSetNumberOverrideResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideResponse.Builder,PutProtectConfigurationRuleSetNumberOverrideResponse>
@Generated("software.amazon.awssdk:codegen") public final class PutProtectConfigurationRuleSetNumberOverrideResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideResponse.Builder,PutProtectConfigurationRuleSetNumberOverrideResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutProtectConfigurationRuleSetNumberOverrideResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectConfigurationRuleOverrideActionaction()The action for the rule to take.StringactionAsString()The action for the rule to take.static PutProtectConfigurationRuleSetNumberOverrideResponse.Builderbuilder()InstantcreatedTimestamp()The time when the rule was created, in UNIX epoch time format.StringdestinationPhoneNumber()The destination phone number in E.164 format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationTimestamp()The time the rule will expire at.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringisoCountryCode()The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.StringprotectConfigurationArn()The Amazon Resource Name (ARN) of the protect configuration.StringprotectConfigurationId()The unique identifier for the protect configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutProtectConfigurationRuleSetNumberOverrideResponse.Builder>serializableBuilderClass()PutProtectConfigurationRuleSetNumberOverrideResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
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
-
protectConfigurationArn
public final String protectConfigurationArn()
The Amazon Resource Name (ARN) of the protect configuration.
- Returns:
- The Amazon Resource Name (ARN) of the protect configuration.
-
protectConfigurationId
public final String protectConfigurationId()
The unique identifier for the protect configuration.
- Returns:
- The unique identifier for the protect configuration.
-
destinationPhoneNumber
public final String destinationPhoneNumber()
The destination phone number in E.164 format.
- Returns:
- The destination phone number in E.164 format.
-
createdTimestamp
public final Instant createdTimestamp()
The time when the rule was created, in UNIX epoch time format.
- Returns:
- The time when the rule was created, in UNIX epoch time format.
-
action
public final ProtectConfigurationRuleOverrideAction action()
The action for the rule to take.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnProtectConfigurationRuleOverrideAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action for the rule to take.
- See Also:
ProtectConfigurationRuleOverrideAction
-
actionAsString
public final String actionAsString()
The action for the rule to take.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnProtectConfigurationRuleOverrideAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action for the rule to take.
- See Also:
ProtectConfigurationRuleOverrideAction
-
isoCountryCode
public final String isoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Returns:
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
-
expirationTimestamp
public final Instant expirationTimestamp()
The time the rule will expire at.
- Returns:
- The time the rule will expire at.
-
toBuilder
public PutProtectConfigurationRuleSetNumberOverrideResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutProtectConfigurationRuleSetNumberOverrideResponse.Builder,PutProtectConfigurationRuleSetNumberOverrideResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PutProtectConfigurationRuleSetNumberOverrideResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutProtectConfigurationRuleSetNumberOverrideResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-