com.amazonaws.services.support.model
Class Communication

java.lang.Object
  extended by com.amazonaws.services.support.model.Communication
All Implemented Interfaces:
Serializable

public class Communication
extends Object
implements Serializable

Exposes the fields used by a communication for an AWS Support case.

See Also:
Serialized Form

Constructor Summary
Communication()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBody()
          The text of the communication between the customer and AWS Support.
 String getCaseId()
          The AWS Support case ID requested or returned in the call.
 String getSubmittedBy()
          The email address of the account that submitted the AWS Support case.
 String getTimeCreated()
          The time the support case was created.
 int hashCode()
           
 void setBody(String body)
          The text of the communication between the customer and AWS Support.
 void setCaseId(String caseId)
          The AWS Support case ID requested or returned in the call.
 void setSubmittedBy(String submittedBy)
          The email address of the account that submitted the AWS Support case.
 void setTimeCreated(String timeCreated)
          The time the support case was created.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Communication withBody(String body)
          The text of the communication between the customer and AWS Support.
 Communication withCaseId(String caseId)
          The AWS Support case ID requested or returned in the call.
 Communication withSubmittedBy(String submittedBy)
          The email address of the account that submitted the AWS Support case.
 Communication withTimeCreated(String timeCreated)
          The time the support case was created.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Communication

public Communication()
Method Detail

getCaseId

public String getCaseId()
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Returns:
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

setCaseId

public void setCaseId(String caseId)
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Parameters:
caseId - The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

withCaseId

public Communication withCaseId(String caseId)
The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Returns a reference to this object so that method calls can be chained together.

Parameters:
caseId - The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
Returns:
A reference to this updated object so that method calls can be chained together.

getBody

public String getBody()
The text of the communication between the customer and AWS Support.

Returns:
The text of the communication between the customer and AWS Support.

setBody

public void setBody(String body)
The text of the communication between the customer and AWS Support.

Parameters:
body - The text of the communication between the customer and AWS Support.

withBody

public Communication withBody(String body)
The text of the communication between the customer and AWS Support.

Returns a reference to this object so that method calls can be chained together.

Parameters:
body - The text of the communication between the customer and AWS Support.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubmittedBy

public String getSubmittedBy()
The email address of the account that submitted the AWS Support case.

Returns:
The email address of the account that submitted the AWS Support case.

setSubmittedBy

public void setSubmittedBy(String submittedBy)
The email address of the account that submitted the AWS Support case.

Parameters:
submittedBy - The email address of the account that submitted the AWS Support case.

withSubmittedBy

public Communication withSubmittedBy(String submittedBy)
The email address of the account that submitted the AWS Support case.

Returns a reference to this object so that method calls can be chained together.

Parameters:
submittedBy - The email address of the account that submitted the AWS Support case.
Returns:
A reference to this updated object so that method calls can be chained together.

getTimeCreated

public String getTimeCreated()
The time the support case was created.

Returns:
The time the support case was created.

setTimeCreated

public void setTimeCreated(String timeCreated)
The time the support case was created.

Parameters:
timeCreated - The time the support case was created.

withTimeCreated

public Communication withTimeCreated(String timeCreated)
The time the support case was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timeCreated - The time the support case was created.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.