Class DescribeMitigationActionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.iot.model.IotResponse
-
- software.amazon.awssdk.services.iot.model.DescribeMitigationActionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeMitigationActionResponse extends IotResponse implements ToCopyableBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeMitigationActionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionArn()The ARN that identifies this migration action.StringactionId()A unique identifier for this action.StringactionName()The friendly name that uniquely identifies the mitigation action.MitigationActionParamsactionParams()Parameters that control how the mitigation action is applied, specific to the type of mitigation action.MitigationActionTypeactionType()The type of mitigation action.StringactionTypeAsString()The type of mitigation action.static DescribeMitigationActionResponse.Builderbuilder()InstantcreationDate()The date and time when the mitigation action was added to your Amazon Web Services accounts.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date and time when the mitigation action was last changed.StringroleArn()The ARN of the IAM role used to apply this action.List<SdkField<?>>sdkFields()static Class<? extends DescribeMitigationActionResponse.Builder>serializableBuilderClass()DescribeMitigationActionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.iot.model.IotResponse
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
-
actionName
public final String actionName()
The friendly name that uniquely identifies the mitigation action.
- Returns:
- The friendly name that uniquely identifies the mitigation action.
-
actionType
public final MitigationActionType actionType()
The type of mitigation action.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnMitigationActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- The type of mitigation action.
- See Also:
MitigationActionType
-
actionTypeAsString
public final String actionTypeAsString()
The type of mitigation action.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnMitigationActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- The type of mitigation action.
- See Also:
MitigationActionType
-
actionArn
public final String actionArn()
The ARN that identifies this migration action.
- Returns:
- The ARN that identifies this migration action.
-
actionId
public final String actionId()
A unique identifier for this action.
- Returns:
- A unique identifier for this action.
-
roleArn
public final String roleArn()
The ARN of the IAM role used to apply this action.
- Returns:
- The ARN of the IAM role used to apply this action.
-
actionParams
public final MitigationActionParams actionParams()
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
- Returns:
- Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
-
creationDate
public final Instant creationDate()
The date and time when the mitigation action was added to your Amazon Web Services accounts.
- Returns:
- The date and time when the mitigation action was added to your Amazon Web Services accounts.
-
lastModifiedDate
public final Instant lastModifiedDate()
The date and time when the mitigation action was last changed.
- Returns:
- The date and time when the mitigation action was last changed.
-
toBuilder
public DescribeMitigationActionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMitigationActionResponse.Builder,DescribeMitigationActionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeMitigationActionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMitigationActionResponse.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
-
-