Class RejectedEntityInfo
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.RejectedEntityInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RejectedEntityInfo.Builder,RejectedEntityInfo>
@Generated("software.amazon.awssdk:codegen") public final class RejectedEntityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RejectedEntityInfo.Builder,RejectedEntityInfo>
If an entity is rejected when a
PutLogEventsrequest was made, this includes details about the reason for the rejection.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRejectedEntityInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RejectedEntityInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EntityRejectionErrorTypeerrorType()The type of error that caused the rejection of the entity when callingPutLogEvents.StringerrorTypeAsString()The type of error that caused the rejection of the entity when callingPutLogEvents.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RejectedEntityInfo.Builder>serializableBuilderClass()RejectedEntityInfo.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
-
errorType
public final EntityRejectionErrorType errorType()
The type of error that caused the rejection of the entity when calling
PutLogEvents.If the service returns an enum value that is not available in the current SDK version,
errorTypewill returnEntityRejectionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorTypeAsString().- Returns:
- The type of error that caused the rejection of the entity when calling
PutLogEvents. - See Also:
EntityRejectionErrorType
-
errorTypeAsString
public final String errorTypeAsString()
The type of error that caused the rejection of the entity when calling
PutLogEvents.If the service returns an enum value that is not available in the current SDK version,
errorTypewill returnEntityRejectionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorTypeAsString().- Returns:
- The type of error that caused the rejection of the entity when calling
PutLogEvents. - See Also:
EntityRejectionErrorType
-
toBuilder
public RejectedEntityInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RejectedEntityInfo.Builder,RejectedEntityInfo>
-
builder
public static RejectedEntityInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends RejectedEntityInfo.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-