Did this page help you?

   Yes   No   Tell us about it...

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

Object that 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()
          Contains the text of the the commmunication between the customer and AWS Support.
 String getCaseId()
          String that indicates the AWS Support caseID requested or returned in the call.
 String getSubmittedBy()
          Email address of the account that submitted the AWS Support case.
 String getTimeCreated()
          Time the support case was created.
 int hashCode()
           
 void setBody(String body)
          Contains the text of the the commmunication between the customer and AWS Support.
 void setCaseId(String caseId)
          String that indicates the AWS Support caseID requested or returned in the call.
 void setSubmittedBy(String submittedBy)
          Email address of the account that submitted the AWS Support case.
 void setTimeCreated(String timeCreated)
          Time the support case was created.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Communication withBody(String body)
          Contains the text of the the commmunication between the customer and AWS Support.
 Communication withCaseId(String caseId)
          String that indicates the AWS Support caseID requested or returned in the call.
 Communication withSubmittedBy(String submittedBy)
          Email address of the account that submitted the AWS Support case.
 Communication withTimeCreated(String timeCreated)
          Time the support case was created.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Communication

public Communication()
Method Detail

getCaseId

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

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

setCaseId

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

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

withCaseId

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

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

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

getBody

public String getBody()
Contains the text of the the commmunication between the customer and AWS Support.

Returns:
Contains the text of the the commmunication between the customer and AWS Support.

setBody

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

Parameters:
body - Contains the text of the the commmunication between the customer and AWS Support.

withBody

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

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

Parameters:
body - Contains the text of the the commmunication 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()
Email address of the account that submitted the AWS Support case.

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

setSubmittedBy

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

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

withSubmittedBy

public Communication withSubmittedBy(String submittedBy)
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 - 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()
Time the support case was created.

Returns:
Time the support case was created.

setTimeCreated

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

Parameters:
timeCreated - Time the support case was created.

withTimeCreated

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

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

Parameters:
timeCreated - 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.