/* * 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.gamesparks.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Properties that provide details of a snapshot. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SnapshotDetails implements Serializable, Cloneable, StructuredPojo { /** ** The timestamp of when the snapshot was created. *
*/ private java.util.Date created; /** ** The description of the snapshot. *
*/ private String description; /** ** The identifier of the snapshot. *
*/ private String id; /** ** The timestamp of when the snapshot was last updated. *
*/ private java.util.Date lastUpdated; /** ** The sections in the snapshot. *
*/ private java.util.Map* The timestamp of when the snapshot was created. *
* * @param created * The timestamp of when the snapshot was created. */ public void setCreated(java.util.Date created) { this.created = created; } /** ** The timestamp of when the snapshot was created. *
* * @return The timestamp of when the snapshot was created. */ public java.util.Date getCreated() { return this.created; } /** ** The timestamp of when the snapshot was created. *
* * @param created * The timestamp of when the snapshot was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotDetails withCreated(java.util.Date created) { setCreated(created); return this; } /** ** The description of the snapshot. *
* * @param description * The description of the snapshot. */ public void setDescription(String description) { this.description = description; } /** ** The description of the snapshot. *
* * @return The description of the snapshot. */ public String getDescription() { return this.description; } /** ** The description of the snapshot. *
* * @param description * The description of the snapshot. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotDetails withDescription(String description) { setDescription(description); return this; } /** ** The identifier of the snapshot. *
* * @param id * The identifier of the snapshot. */ public void setId(String id) { this.id = id; } /** ** The identifier of the snapshot. *
* * @return The identifier of the snapshot. */ public String getId() { return this.id; } /** ** The identifier of the snapshot. *
* * @param id * The identifier of the snapshot. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotDetails withId(String id) { setId(id); return this; } /** ** The timestamp of when the snapshot was last updated. *
* * @param lastUpdated * The timestamp of when the snapshot was last updated. */ public void setLastUpdated(java.util.Date lastUpdated) { this.lastUpdated = lastUpdated; } /** ** The timestamp of when the snapshot was last updated. *
* * @return The timestamp of when the snapshot was last updated. */ public java.util.Date getLastUpdated() { return this.lastUpdated; } /** ** The timestamp of when the snapshot was last updated. *
* * @param lastUpdated * The timestamp of when the snapshot was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotDetails withLastUpdated(java.util.Date lastUpdated) { setLastUpdated(lastUpdated); return this; } /** ** The sections in the snapshot. *
* * @return The sections in the snapshot. */ public java.util.Map* The sections in the snapshot. *
* * @param sections * The sections in the snapshot. */ public void setSections(java.util.Map* The sections in the snapshot. *
* * @param sections * The sections in the snapshot. * @return Returns a reference to this object so that method calls can be chained together. */ public SnapshotDetails withSections(java.util.Map