/* * 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.auditmanager.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The file that's used to structure and automate Audit Manager assessments for a given compliance standard. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Framework implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the framework. *
*/ private String arn; /** ** The unique identifier for the framework. *
*/ private String id; /** ** The name of the framework. *
*/ private String name; /** ** Specifies whether the framework is a standard framework or a custom framework. *
*/ private String type; /** ** The compliance type that the framework supports, such as CIS or HIPAA. *
*/ private String complianceType; /** ** The description of the framework. *
*/ private String description; /** ** The logo that's associated with the framework. *
*/ private String logo; /** ** The control data sources where Audit Manager collects evidence from. *
*/ private String controlSources; /** ** The control sets that are associated with the framework. *
*/ private java.util.List* The time when the framework was created. *
*/ private java.util.Date createdAt; /** ** The time when the framework was most recently updated. *
*/ private java.util.Date lastUpdatedAt; /** ** The user or role that created the framework. *
*/ private String createdBy; /** ** The user or role that most recently updated the framework. *
*/ private String lastUpdatedBy; /** ** The tags that are associated with the framework. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the framework. *
* * @param arn * The Amazon Resource Name (ARN) of the framework. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the framework. *
* * @return The Amazon Resource Name (ARN) of the framework. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the framework. *
* * @param arn * The Amazon Resource Name (ARN) of the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withArn(String arn) { setArn(arn); return this; } /** ** The unique identifier for the framework. *
* * @param id * The unique identifier for the framework. */ public void setId(String id) { this.id = id; } /** ** The unique identifier for the framework. *
* * @return The unique identifier for the framework. */ public String getId() { return this.id; } /** ** The unique identifier for the framework. *
* * @param id * The unique identifier for the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withId(String id) { setId(id); return this; } /** ** The name of the framework. *
* * @param name * The name of the framework. */ public void setName(String name) { this.name = name; } /** ** The name of the framework. *
* * @return The name of the framework. */ public String getName() { return this.name; } /** ** The name of the framework. *
* * @param name * The name of the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withName(String name) { setName(name); return this; } /** ** Specifies whether the framework is a standard framework or a custom framework. *
* * @param type * Specifies whether the framework is a standard framework or a custom framework. * @see FrameworkType */ public void setType(String type) { this.type = type; } /** ** Specifies whether the framework is a standard framework or a custom framework. *
* * @return Specifies whether the framework is a standard framework or a custom framework. * @see FrameworkType */ public String getType() { return this.type; } /** ** Specifies whether the framework is a standard framework or a custom framework. *
* * @param type * Specifies whether the framework is a standard framework or a custom framework. * @return Returns a reference to this object so that method calls can be chained together. * @see FrameworkType */ public Framework withType(String type) { setType(type); return this; } /** ** Specifies whether the framework is a standard framework or a custom framework. *
* * @param type * Specifies whether the framework is a standard framework or a custom framework. * @return Returns a reference to this object so that method calls can be chained together. * @see FrameworkType */ public Framework withType(FrameworkType type) { this.type = type.toString(); return this; } /** ** The compliance type that the framework supports, such as CIS or HIPAA. *
* * @param complianceType * The compliance type that the framework supports, such as CIS or HIPAA. */ public void setComplianceType(String complianceType) { this.complianceType = complianceType; } /** ** The compliance type that the framework supports, such as CIS or HIPAA. *
* * @return The compliance type that the framework supports, such as CIS or HIPAA. */ public String getComplianceType() { return this.complianceType; } /** ** The compliance type that the framework supports, such as CIS or HIPAA. *
* * @param complianceType * The compliance type that the framework supports, such as CIS or HIPAA. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withComplianceType(String complianceType) { setComplianceType(complianceType); return this; } /** ** The description of the framework. *
* * @param description * The description of the framework. */ public void setDescription(String description) { this.description = description; } /** ** The description of the framework. *
* * @return The description of the framework. */ public String getDescription() { return this.description; } /** ** The description of the framework. *
* * @param description * The description of the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withDescription(String description) { setDescription(description); return this; } /** ** The logo that's associated with the framework. *
* * @param logo * The logo that's associated with the framework. */ public void setLogo(String logo) { this.logo = logo; } /** ** The logo that's associated with the framework. *
* * @return The logo that's associated with the framework. */ public String getLogo() { return this.logo; } /** ** The logo that's associated with the framework. *
* * @param logo * The logo that's associated with the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withLogo(String logo) { setLogo(logo); return this; } /** ** The control data sources where Audit Manager collects evidence from. *
* * @param controlSources * The control data sources where Audit Manager collects evidence from. */ public void setControlSources(String controlSources) { this.controlSources = controlSources; } /** ** The control data sources where Audit Manager collects evidence from. *
* * @return The control data sources where Audit Manager collects evidence from. */ public String getControlSources() { return this.controlSources; } /** ** The control data sources where Audit Manager collects evidence from. *
* * @param controlSources * The control data sources where Audit Manager collects evidence from. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withControlSources(String controlSources) { setControlSources(controlSources); return this; } /** ** The control sets that are associated with the framework. *
* * @return The control sets that are associated with the framework. */ public java.util.List* The control sets that are associated with the framework. *
* * @param controlSets * The control sets that are associated with the framework. */ public void setControlSets(java.util.Collection* The control sets that are associated with the framework. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setControlSets(java.util.Collection)} or {@link #withControlSets(java.util.Collection)} if you want to * override the existing values. *
* * @param controlSets * The control sets that are associated with the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withControlSets(ControlSet... controlSets) { if (this.controlSets == null) { setControlSets(new java.util.ArrayList* The control sets that are associated with the framework. *
* * @param controlSets * The control sets that are associated with the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withControlSets(java.util.Collection* The time when the framework was created. *
* * @param createdAt * The time when the framework was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time when the framework was created. *
* * @return The time when the framework was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time when the framework was created. *
* * @param createdAt * The time when the framework was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The time when the framework was most recently updated. *
* * @param lastUpdatedAt * The time when the framework was most recently updated. */ public void setLastUpdatedAt(java.util.Date lastUpdatedAt) { this.lastUpdatedAt = lastUpdatedAt; } /** ** The time when the framework was most recently updated. *
* * @return The time when the framework was most recently updated. */ public java.util.Date getLastUpdatedAt() { return this.lastUpdatedAt; } /** ** The time when the framework was most recently updated. *
* * @param lastUpdatedAt * The time when the framework was most recently updated. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withLastUpdatedAt(java.util.Date lastUpdatedAt) { setLastUpdatedAt(lastUpdatedAt); return this; } /** ** The user or role that created the framework. *
* * @param createdBy * The user or role that created the framework. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** ** The user or role that created the framework. *
* * @return The user or role that created the framework. */ public String getCreatedBy() { return this.createdBy; } /** ** The user or role that created the framework. *
* * @param createdBy * The user or role that created the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** ** The user or role that most recently updated the framework. *
* * @param lastUpdatedBy * The user or role that most recently updated the framework. */ public void setLastUpdatedBy(String lastUpdatedBy) { this.lastUpdatedBy = lastUpdatedBy; } /** ** The user or role that most recently updated the framework. *
* * @return The user or role that most recently updated the framework. */ public String getLastUpdatedBy() { return this.lastUpdatedBy; } /** ** The user or role that most recently updated the framework. *
* * @param lastUpdatedBy * The user or role that most recently updated the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withLastUpdatedBy(String lastUpdatedBy) { setLastUpdatedBy(lastUpdatedBy); return this; } /** ** The tags that are associated with the framework. *
* * @return The tags that are associated with the framework. */ public java.util.Map* The tags that are associated with the framework. *
* * @param tags * The tags that are associated with the framework. */ public void setTags(java.util.Map* The tags that are associated with the framework. *
* * @param tags * The tags that are associated with the framework. * @return Returns a reference to this object so that method calls can be chained together. */ public Framework withTags(java.util.Map