@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SipMediaApplication extends Object implements Serializable, Cloneable, StructuredPojo
The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications.
Constructor and Description |
---|
SipMediaApplication() |
Modifier and Type | Method and Description |
---|---|
SipMediaApplication |
clone() |
boolean |
equals(Object obj) |
String |
getAwsRegion()
The AWS Region in which the SIP media application is created.
|
Date |
getCreatedTimestamp()
The SIP media application creation timestamp, in ISO 8601 format.
|
List<SipMediaApplicationEndpoint> |
getEndpoints()
List of endpoints for SIP media application.
|
String |
getName()
The name of the SIP media application.
|
String |
getSipMediaApplicationId()
The SIP media application ID.
|
Date |
getUpdatedTimestamp()
The SIP media application updated timestamp, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsRegion(String awsRegion)
The AWS Region in which the SIP media application is created.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The SIP media application creation timestamp, in ISO 8601 format.
|
void |
setEndpoints(Collection<SipMediaApplicationEndpoint> endpoints)
List of endpoints for SIP media application.
|
void |
setName(String name)
The name of the SIP media application.
|
void |
setSipMediaApplicationId(String sipMediaApplicationId)
The SIP media application ID.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The SIP media application updated timestamp, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
SipMediaApplication |
withAwsRegion(String awsRegion)
The AWS Region in which the SIP media application is created.
|
SipMediaApplication |
withCreatedTimestamp(Date createdTimestamp)
The SIP media application creation timestamp, in ISO 8601 format.
|
SipMediaApplication |
withEndpoints(Collection<SipMediaApplicationEndpoint> endpoints)
List of endpoints for SIP media application.
|
SipMediaApplication |
withEndpoints(SipMediaApplicationEndpoint... endpoints)
List of endpoints for SIP media application.
|
SipMediaApplication |
withName(String name)
The name of the SIP media application.
|
SipMediaApplication |
withSipMediaApplicationId(String sipMediaApplicationId)
The SIP media application ID.
|
SipMediaApplication |
withUpdatedTimestamp(Date updatedTimestamp)
The SIP media application updated timestamp, in ISO 8601 format.
|
public void setSipMediaApplicationId(String sipMediaApplicationId)
The SIP media application ID.
sipMediaApplicationId
- The SIP media application ID.public String getSipMediaApplicationId()
The SIP media application ID.
public SipMediaApplication withSipMediaApplicationId(String sipMediaApplicationId)
The SIP media application ID.
sipMediaApplicationId
- The SIP media application ID.public void setAwsRegion(String awsRegion)
The AWS Region in which the SIP media application is created.
awsRegion
- The AWS Region in which the SIP media application is created.public String getAwsRegion()
The AWS Region in which the SIP media application is created.
public SipMediaApplication withAwsRegion(String awsRegion)
The AWS Region in which the SIP media application is created.
awsRegion
- The AWS Region in which the SIP media application is created.public void setName(String name)
The name of the SIP media application.
name
- The name of the SIP media application.public String getName()
The name of the SIP media application.
public SipMediaApplication withName(String name)
The name of the SIP media application.
name
- The name of the SIP media application.public List<SipMediaApplicationEndpoint> getEndpoints()
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
public void setEndpoints(Collection<SipMediaApplicationEndpoint> endpoints)
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
endpoints
- List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is
permitted.public SipMediaApplication withEndpoints(SipMediaApplicationEndpoint... endpoints)
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
NOTE: This method appends the values to the existing list (if any). Use
setEndpoints(java.util.Collection)
or withEndpoints(java.util.Collection)
if you want to
override the existing values.
endpoints
- List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is
permitted.public SipMediaApplication withEndpoints(Collection<SipMediaApplicationEndpoint> endpoints)
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
endpoints
- List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is
permitted.public void setCreatedTimestamp(Date createdTimestamp)
The SIP media application creation timestamp, in ISO 8601 format.
createdTimestamp
- The SIP media application creation timestamp, in ISO 8601 format.public Date getCreatedTimestamp()
The SIP media application creation timestamp, in ISO 8601 format.
public SipMediaApplication withCreatedTimestamp(Date createdTimestamp)
The SIP media application creation timestamp, in ISO 8601 format.
createdTimestamp
- The SIP media application creation timestamp, in ISO 8601 format.public void setUpdatedTimestamp(Date updatedTimestamp)
The SIP media application updated timestamp, in ISO 8601 format.
updatedTimestamp
- The SIP media application updated timestamp, in ISO 8601 format.public Date getUpdatedTimestamp()
The SIP media application updated timestamp, in ISO 8601 format.
public SipMediaApplication withUpdatedTimestamp(Date updatedTimestamp)
The SIP media application updated timestamp, in ISO 8601 format.
updatedTimestamp
- The SIP media application updated timestamp, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public SipMediaApplication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.