* The Amazon Resource Name (ARN) of the configuration. *
*/ private String arn; /** ** Required. The date and time of the configuration. *
*/ private java.util.Date created; /** ** The unique ID that Amazon MQ generates for the configuration. *
*/ private String id; /** ** The latest revision of the configuration. *
*/ private ConfigurationRevision latestRevision; /** ** The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 1-150 characters long. *
*/ private String name; /** ** The list of the first 20 warnings about the configuration elements or attributes that were sanitized. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the configuration. *
* * @param arn * The Amazon Resource Name (ARN) of the configuration. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the configuration. *
* * @return The Amazon Resource Name (ARN) of the configuration. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the configuration. *
* * @param arn * The Amazon Resource Name (ARN) of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withArn(String arn) { setArn(arn); return this; } /** ** Required. The date and time of the configuration. *
* * @param created * Required. The date and time of the configuration. */ public void setCreated(java.util.Date created) { this.created = created; } /** ** Required. The date and time of the configuration. *
* * @return Required. The date and time of the configuration. */ public java.util.Date getCreated() { return this.created; } /** ** Required. The date and time of the configuration. *
* * @param created * Required. The date and time of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withCreated(java.util.Date created) { setCreated(created); return this; } /** ** The unique ID that Amazon MQ generates for the configuration. *
* * @param id * The unique ID that Amazon MQ generates for the configuration. */ public void setId(String id) { this.id = id; } /** ** The unique ID that Amazon MQ generates for the configuration. *
* * @return The unique ID that Amazon MQ generates for the configuration. */ public String getId() { return this.id; } /** ** The unique ID that Amazon MQ generates for the configuration. *
* * @param id * The unique ID that Amazon MQ generates for the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withId(String id) { setId(id); return this; } /** ** The latest revision of the configuration. *
* * @param latestRevision * The latest revision of the configuration. */ public void setLatestRevision(ConfigurationRevision latestRevision) { this.latestRevision = latestRevision; } /** ** The latest revision of the configuration. *
* * @return The latest revision of the configuration. */ public ConfigurationRevision getLatestRevision() { return this.latestRevision; } /** ** The latest revision of the configuration. *
* * @param latestRevision * The latest revision of the configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withLatestRevision(ConfigurationRevision latestRevision) { setLatestRevision(latestRevision); return this; } /** ** The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 1-150 characters long. *
* * @param name * The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, * underscores, and tildes (- . _ ~). This value must be 1-150 characters long. */ public void setName(String name) { this.name = name; } /** ** The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 1-150 characters long. *
* * @return The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, * underscores, and tildes (- . _ ~). This value must be 1-150 characters long. */ public String getName() { return this.name; } /** ** The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 1-150 characters long. *
* * @param name * The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, * underscores, and tildes (- . _ ~). This value must be 1-150 characters long. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withName(String name) { setName(name); return this; } /** ** The list of the first 20 warnings about the configuration elements or attributes that were sanitized. *
* * @return The list of the first 20 warnings about the configuration elements or attributes that were sanitized. */ public java.util.List* The list of the first 20 warnings about the configuration elements or attributes that were sanitized. *
* * @param warnings * The list of the first 20 warnings about the configuration elements or attributes that were sanitized. */ public void setWarnings(java.util.Collection* The list of the first 20 warnings about the configuration elements or attributes that were sanitized. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setWarnings(java.util.Collection)} or {@link #withWarnings(java.util.Collection)} if you want to override * the existing values. *
* * @param warnings * The list of the first 20 warnings about the configuration elements or attributes that were sanitized. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withWarnings(SanitizationWarning... warnings) { if (this.warnings == null) { setWarnings(new java.util.ArrayList* The list of the first 20 warnings about the configuration elements or attributes that were sanitized. *
* * @param warnings * The list of the first 20 warnings about the configuration elements or attributes that were sanitized. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConfigurationResult withWarnings(java.util.Collection