/* * 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.wafv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information for a release of the mobile SDK, including release notes and tags. *
** The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and * manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see WAF client application * integration in the WAF Developer Guide. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MobileSdkRelease implements Serializable, Cloneable, StructuredPojo { /** ** The release version. *
*/ private String releaseVersion; /** ** The timestamp of the release. *
*/ private java.util.Date timestamp; /** ** Notes describing the release. *
*/ private String releaseNotes; /** ** Tags that are associated with the release. *
*/ private java.util.List* The release version. *
* * @param releaseVersion * The release version. */ public void setReleaseVersion(String releaseVersion) { this.releaseVersion = releaseVersion; } /** ** The release version. *
* * @return The release version. */ public String getReleaseVersion() { return this.releaseVersion; } /** ** The release version. *
* * @param releaseVersion * The release version. * @return Returns a reference to this object so that method calls can be chained together. */ public MobileSdkRelease withReleaseVersion(String releaseVersion) { setReleaseVersion(releaseVersion); return this; } /** ** The timestamp of the release. *
* * @param timestamp * The timestamp of the release. */ public void setTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; } /** ** The timestamp of the release. *
* * @return The timestamp of the release. */ public java.util.Date getTimestamp() { return this.timestamp; } /** ** The timestamp of the release. *
* * @param timestamp * The timestamp of the release. * @return Returns a reference to this object so that method calls can be chained together. */ public MobileSdkRelease withTimestamp(java.util.Date timestamp) { setTimestamp(timestamp); return this; } /** ** Notes describing the release. *
* * @param releaseNotes * Notes describing the release. */ public void setReleaseNotes(String releaseNotes) { this.releaseNotes = releaseNotes; } /** ** Notes describing the release. *
* * @return Notes describing the release. */ public String getReleaseNotes() { return this.releaseNotes; } /** ** Notes describing the release. *
* * @param releaseNotes * Notes describing the release. * @return Returns a reference to this object so that method calls can be chained together. */ public MobileSdkRelease withReleaseNotes(String releaseNotes) { setReleaseNotes(releaseNotes); return this; } /** ** Tags that are associated with the release. *
* * @return Tags that are associated with the release. */ public java.util.List* Tags that are associated with the release. *
* * @param tags * Tags that are associated with the release. */ public void setTags(java.util.Collection* Tags that are associated with the release. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Tags that are associated with the release. * @return Returns a reference to this object so that method calls can be chained together. */ public MobileSdkRelease withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Tags that are associated with the release. *
* * @param tags * Tags that are associated with the release. * @return Returns a reference to this object so that method calls can be chained together. */ public MobileSdkRelease withTags(java.util.Collection