/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pinpoint.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides information about the results of a request to create or update an endpoint that's associated with an event. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ItemResponse implements Serializable, Cloneable, StructuredPojo { /** ** The response that was received after the endpoint data was accepted. *
*/ private EndpointItemResponse endpointItemResponse; /** ** A multipart response object that contains a key and a value for each event in the request. In each object, the * event ID is the key and an EventItemResponse object is the value. *
*/ private java.util.Map* The response that was received after the endpoint data was accepted. *
* * @param endpointItemResponse * The response that was received after the endpoint data was accepted. */ public void setEndpointItemResponse(EndpointItemResponse endpointItemResponse) { this.endpointItemResponse = endpointItemResponse; } /** ** The response that was received after the endpoint data was accepted. *
* * @return The response that was received after the endpoint data was accepted. */ public EndpointItemResponse getEndpointItemResponse() { return this.endpointItemResponse; } /** ** The response that was received after the endpoint data was accepted. *
* * @param endpointItemResponse * The response that was received after the endpoint data was accepted. * @return Returns a reference to this object so that method calls can be chained together. */ public ItemResponse withEndpointItemResponse(EndpointItemResponse endpointItemResponse) { setEndpointItemResponse(endpointItemResponse); return this; } /** ** A multipart response object that contains a key and a value for each event in the request. In each object, the * event ID is the key and an EventItemResponse object is the value. *
* * @return A multipart response object that contains a key and a value for each event in the request. In each * object, the event ID is the key and an EventItemResponse object is the value. */ public java.util.Map* A multipart response object that contains a key and a value for each event in the request. In each object, the * event ID is the key and an EventItemResponse object is the value. *
* * @param eventsItemResponse * A multipart response object that contains a key and a value for each event in the request. In each object, * the event ID is the key and an EventItemResponse object is the value. */ public void setEventsItemResponse(java.util.Map* A multipart response object that contains a key and a value for each event in the request. In each object, the * event ID is the key and an EventItemResponse object is the value. *
* * @param eventsItemResponse * A multipart response object that contains a key and a value for each event in the request. In each object, * the event ID is the key and an EventItemResponse object is the value. * @return Returns a reference to this object so that method calls can be chained together. */ public ItemResponse withEventsItemResponse(java.util.Map