Class CisSessionMessage
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.CisSessionMessage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CisSessionMessage.Builder,CisSessionMessage>
@Generated("software.amazon.awssdk:codegen") public final class CisSessionMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CisSessionMessage.Builder,CisSessionMessage>
The CIS session message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCisSessionMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CisSessionMessage.Builderbuilder()SdkBytescisRuleDetails()The CIS rule details for the CIS session message.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringruleId()The rule ID for the CIS session message.List<SdkField<?>>sdkFields()static Class<? extends CisSessionMessage.Builder>serializableBuilderClass()CisRuleStatusstatus()The status of the CIS session message.StringstatusAsString()The status of the CIS session message.CisSessionMessage.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
cisRuleDetails
public final SdkBytes cisRuleDetails()
The CIS rule details for the CIS session message.
- Returns:
- The CIS rule details for the CIS session message.
-
ruleId
public final String ruleId()
The rule ID for the CIS session message.
- Returns:
- The rule ID for the CIS session message.
-
status
public final CisRuleStatus status()
The status of the CIS session message.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCisRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the CIS session message.
- See Also:
CisRuleStatus
-
statusAsString
public final String statusAsString()
The status of the CIS session message.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCisRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the CIS session message.
- See Also:
CisRuleStatus
-
toBuilder
public CisSessionMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CisSessionMessage.Builder,CisSessionMessage>
-
builder
public static CisSessionMessage.Builder builder()
-
serializableBuilderClass
public static Class<? extends CisSessionMessage.Builder> serializableBuilderClass()
-
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.
-
-