* The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting * of letters (a-z, A-Z), numbers (0-9), and underscores (_). *
*/ private String frameworkName; /** ** An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource * type. *
*/ private String frameworkArn; /** *
* The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
* is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00
* PM 8 hours behind UTC.
*
* The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting * of letters (a-z, A-Z), numbers (0-9), and underscores (_). *
* * @param frameworkName * The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and * consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_). */ public void setFrameworkName(String frameworkName) { this.frameworkName = frameworkName; } /** ** The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting * of letters (a-z, A-Z), numbers (0-9), and underscores (_). *
* * @return The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and * consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_). */ public String getFrameworkName() { return this.frameworkName; } /** ** The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting * of letters (a-z, A-Z), numbers (0-9), and underscores (_). *
* * @param frameworkName * The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and * consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_). * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFrameworkResult withFrameworkName(String frameworkName) { setFrameworkName(frameworkName); return this; } /** ** An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource * type. *
* * @param frameworkArn * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the * resource type. */ public void setFrameworkArn(String frameworkArn) { this.frameworkArn = frameworkArn; } /** ** An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource * type. *
* * @return An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the * resource type. */ public String getFrameworkArn() { return this.frameworkArn; } /** ** An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource * type. *
* * @param frameworkArn * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the * resource type. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFrameworkResult withFrameworkArn(String frameworkArn) { setFrameworkArn(frameworkArn); return this; } /** *
* The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
* is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00
* PM 8 hours behind UTC.
*
CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00
* represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
*/
public void setCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
}
/**
*
* The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
* is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00
* PM 8 hours behind UTC.
*
CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00
* represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
*/
public java.util.Date getCreationTime() {
return this.creationTime;
}
/**
*
* The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime
* is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00
* PM 8 hours behind UTC.
*
CreationTime
is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00
* represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateFrameworkResult withCreationTime(java.util.Date creationTime) {
setCreationTime(creationTime);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getFrameworkName() != null)
sb.append("FrameworkName: ").append(getFrameworkName()).append(",");
if (getFrameworkArn() != null)
sb.append("FrameworkArn: ").append(getFrameworkArn()).append(",");
if (getCreationTime() != null)
sb.append("CreationTime: ").append(getCreationTime());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof UpdateFrameworkResult == false)
return false;
UpdateFrameworkResult other = (UpdateFrameworkResult) obj;
if (other.getFrameworkName() == null ^ this.getFrameworkName() == null)
return false;
if (other.getFrameworkName() != null && other.getFrameworkName().equals(this.getFrameworkName()) == false)
return false;
if (other.getFrameworkArn() == null ^ this.getFrameworkArn() == null)
return false;
if (other.getFrameworkArn() != null && other.getFrameworkArn().equals(this.getFrameworkArn()) == false)
return false;
if (other.getCreationTime() == null ^ this.getCreationTime() == null)
return false;
if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getFrameworkName() == null) ? 0 : getFrameworkName().hashCode());
hashCode = prime * hashCode + ((getFrameworkArn() == null) ? 0 : getFrameworkArn().hashCode());
hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
return hashCode;
}
@Override
public UpdateFrameworkResult clone() {
try {
return (UpdateFrameworkResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}