Class SipMediaApplication
- java.lang.Object
-
- software.amazon.awssdk.services.chime.model.SipMediaApplication
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SipMediaApplication.Builder,SipMediaApplication>
@Generated("software.amazon.awssdk:codegen") public final class SipMediaApplication extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SipMediaApplication.Builder,SipMediaApplication>
The details of the SIP media application, including name and endpoints. An AWS account can have multiple SIP media applications.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSipMediaApplication.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsRegion()The AWS Region in which the SIP media application is created.static SipMediaApplication.Builderbuilder()InstantcreatedTimestamp()The SIP media application creation timestamp, in ISO 8601 format.List<SipMediaApplicationEndpoint>endpoints()List of endpoints for SIP media application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEndpoints()For responses, this returns true if the service returned a value for the Endpoints property.inthashCode()Stringname()The name of the SIP media application.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SipMediaApplication.Builder>serializableBuilderClass()StringsipMediaApplicationId()The SIP media application ID.SipMediaApplication.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedTimestamp()The SIP media application updated timestamp, in ISO 8601 format.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sipMediaApplicationId
public final String sipMediaApplicationId()
The SIP media application ID.
- Returns:
- The SIP media application ID.
-
awsRegion
public final String awsRegion()
The AWS Region in which the SIP media application is created.
- Returns:
- The AWS Region in which the SIP media application is created.
-
name
public final String name()
The name of the SIP media application.
- Returns:
- The name of the SIP media application.
-
hasEndpoints
public final boolean hasEndpoints()
For responses, this returns true if the service returned a value for the Endpoints property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
endpoints
public final List<SipMediaApplicationEndpoint> endpoints()
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasEndpoints()method.- Returns:
- List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
-
createdTimestamp
public final Instant createdTimestamp()
The SIP media application creation timestamp, in ISO 8601 format.
- Returns:
- The SIP media application creation timestamp, in ISO 8601 format.
-
updatedTimestamp
public final Instant updatedTimestamp()
The SIP media application updated timestamp, in ISO 8601 format.
- Returns:
- The SIP media application updated timestamp, in ISO 8601 format.
-
toBuilder
public SipMediaApplication.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SipMediaApplication.Builder,SipMediaApplication>
-
builder
public static SipMediaApplication.Builder builder()
-
serializableBuilderClass
public static Class<? extends SipMediaApplication.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-