/* * 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.fms.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Summarizes the resource sets used in a policy. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ResourceSetSummary implements Serializable, Cloneable, StructuredPojo { /** *

* A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You * provide it to operations like update and delete. *

*/ private String id; /** *

* The descriptive name of the resource set. You can't change the name of a resource set after you create it. *

*/ private String name; /** *

* A description of the resource set. *

*/ private String description; /** *

* The last time that the resource set was changed. *

*/ private java.util.Date lastUpdateTime; /** *

* Indicates whether the resource set is in or out of an admin's Region scope. *

* */ private String resourceSetStatus; /** *

* A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You * provide it to operations like update and delete. *

* * @param id * A unique identifier for the resource set. This ID is returned in the responses to create and list * commands. You provide it to operations like update and delete. */ public void setId(String id) { this.id = id; } /** *

* A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You * provide it to operations like update and delete. *

* * @return A unique identifier for the resource set. This ID is returned in the responses to create and list * commands. You provide it to operations like update and delete. */ public String getId() { return this.id; } /** *

* A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You * provide it to operations like update and delete. *

* * @param id * A unique identifier for the resource set. This ID is returned in the responses to create and list * commands. You provide it to operations like update and delete. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceSetSummary withId(String id) { setId(id); return this; } /** *

* The descriptive name of the resource set. You can't change the name of a resource set after you create it. *

* * @param name * The descriptive name of the resource set. You can't change the name of a resource set after you create it. */ public void setName(String name) { this.name = name; } /** *

* The descriptive name of the resource set. You can't change the name of a resource set after you create it. *

* * @return The descriptive name of the resource set. You can't change the name of a resource set after you create * it. */ public String getName() { return this.name; } /** *

* The descriptive name of the resource set. You can't change the name of a resource set after you create it. *

* * @param name * The descriptive name of the resource set. You can't change the name of a resource set after you create it. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceSetSummary withName(String name) { setName(name); return this; } /** *

* A description of the resource set. *

* * @param description * A description of the resource set. */ public void setDescription(String description) { this.description = description; } /** *

* A description of the resource set. *

* * @return A description of the resource set. */ public String getDescription() { return this.description; } /** *

* A description of the resource set. *

* * @param description * A description of the resource set. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceSetSummary withDescription(String description) { setDescription(description); return this; } /** *

* The last time that the resource set was changed. *

* * @param lastUpdateTime * The last time that the resource set was changed. */ public void setLastUpdateTime(java.util.Date lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } /** *

* The last time that the resource set was changed. *

* * @return The last time that the resource set was changed. */ public java.util.Date getLastUpdateTime() { return this.lastUpdateTime; } /** *

* The last time that the resource set was changed. *

* * @param lastUpdateTime * The last time that the resource set was changed. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceSetSummary withLastUpdateTime(java.util.Date lastUpdateTime) { setLastUpdateTime(lastUpdateTime); return this; } /** *

* Indicates whether the resource set is in or out of an admin's Region scope. *

* * * @param resourceSetStatus * Indicates whether the resource set is in or out of an admin's Region scope.

*