/* * Copyright 2010-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.geo.model; import java.io.Serializable; public class GetMapSpritesResult implements Serializable { /** *
* Contains the body of the sprite sheet or JSON offset file. *
*/ private java.nio.ByteBuffer blob; /** ** The HTTP Cache-Control directive for the value. *
*/ private String cacheControl; /** *
* The content type of the sprite sheet and offsets. For example, the sprite
* sheet content type is image/png
, and the sprite offset JSON
* document is application/json
.
*
* Contains the body of the sprite sheet or JSON offset file. *
* * @return* Contains the body of the sprite sheet or JSON offset file. *
*/ public java.nio.ByteBuffer getBlob() { return blob; } /** ** Contains the body of the sprite sheet or JSON offset file. *
* * @param blob* Contains the body of the sprite sheet or JSON offset file. *
*/ public void setBlob(java.nio.ByteBuffer blob) { this.blob = blob; } /** ** Contains the body of the sprite sheet or JSON offset file. *
** Returns a reference to this object so that method calls can be chained * together. * * @param blob
* Contains the body of the sprite sheet or JSON offset file. *
* @return A reference to this updated object so that method calls can be * chained together. */ public GetMapSpritesResult withBlob(java.nio.ByteBuffer blob) { this.blob = blob; return this; } /** ** The HTTP Cache-Control directive for the value. *
* * @return* The HTTP Cache-Control directive for the value. *
*/ public String getCacheControl() { return cacheControl; } /** ** The HTTP Cache-Control directive for the value. *
* * @param cacheControl* The HTTP Cache-Control directive for the value. *
*/ public void setCacheControl(String cacheControl) { this.cacheControl = cacheControl; } /** ** The HTTP Cache-Control directive for the value. *
** Returns a reference to this object so that method calls can be chained * together. * * @param cacheControl
* The HTTP Cache-Control directive for the value. *
* @return A reference to this updated object so that method calls can be * chained together. */ public GetMapSpritesResult withCacheControl(String cacheControl) { this.cacheControl = cacheControl; return this; } /** *
* The content type of the sprite sheet and offsets. For example, the sprite
* sheet content type is image/png
, and the sprite offset JSON
* document is application/json
.
*
* The content type of the sprite sheet and offsets. For example,
* the sprite sheet content type is image/png
, and the
* sprite offset JSON document is application/json
.
*
* The content type of the sprite sheet and offsets. For example, the sprite
* sheet content type is image/png
, and the sprite offset JSON
* document is application/json
.
*
* The content type of the sprite sheet and offsets. For example,
* the sprite sheet content type is image/png
, and
* the sprite offset JSON document is
* application/json
.
*
* The content type of the sprite sheet and offsets. For example, the sprite
* sheet content type is image/png
, and the sprite offset JSON
* document is application/json
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param contentType
* The content type of the sprite sheet and offsets. For example,
* the sprite sheet content type is image/png
, and
* the sprite offset JSON document is
* application/json
.
*