/* * 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 GetMapStyleDescriptorResult implements Serializable { /** *
* Contains the body of the style descriptor. *
*/ private java.nio.ByteBuffer blob; /** ** The HTTP Cache-Control directive for the value. *
*/ private String cacheControl; /** *
* The style descriptor's content type. For example,
* application/json
.
*
* Contains the body of the style descriptor. *
* * @return* Contains the body of the style descriptor. *
*/ public java.nio.ByteBuffer getBlob() { return blob; } /** ** Contains the body of the style descriptor. *
* * @param blob* Contains the body of the style descriptor. *
*/ public void setBlob(java.nio.ByteBuffer blob) { this.blob = blob; } /** ** Contains the body of the style descriptor. *
** Returns a reference to this object so that method calls can be chained * together. * * @param blob
* Contains the body of the style descriptor. *
* @return A reference to this updated object so that method calls can be * chained together. */ public GetMapStyleDescriptorResult 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 GetMapStyleDescriptorResult withCacheControl(String cacheControl) { this.cacheControl = cacheControl; return this; } /** *
* The style descriptor's content type. For example,
* application/json
.
*
* The style descriptor's content type. For example,
* application/json
.
*
* The style descriptor's content type. For example,
* application/json
.
*
* The style descriptor's content type. For example,
* application/json
.
*
* The style descriptor's content type. For example,
* application/json
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param contentType
* The style descriptor's content type. For example,
* application/json
.
*