Class EventItemResponse
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.EventItemResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventItemResponse.Builder,EventItemResponse>
@Generated("software.amazon.awssdk:codegen") public final class EventItemResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventItemResponse.Builder,EventItemResponse>
Provides the status code and message that result from processing an event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventItemResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventItemResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A custom message that's returned in the response as a result of processing the event.List<SdkField<?>>sdkFields()static Class<? extends EventItemResponse.Builder>serializableBuilderClass()IntegerstatusCode()The status code that's returned in the response as a result of processing the event.EventItemResponse.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
-
message
public final String message()
A custom message that's returned in the response as a result of processing the event.
- Returns:
- A custom message that's returned in the response as a result of processing the event.
-
statusCode
public final Integer statusCode()
The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
- Returns:
- The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.
-
toBuilder
public EventItemResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventItemResponse.Builder,EventItemResponse>
-
builder
public static EventItemResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventItemResponse.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.
-
-