Class CreateProfileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest
-
- software.amazon.awssdk.services.alexaforbusiness.model.CreateProfileRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateProfileRequest extends AlexaForBusinessRequest implements ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateProfileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()The valid address for the room.static CreateProfileRequest.Builderbuilder()StringclientRequestToken()The user-specified token that is used during the creation of a profile.BooleandataRetentionOptIn()Whether data retention of the profile is enabled.DistanceUnitdistanceUnit()The distance unit to be used by devices in the profile.StringdistanceUnitAsString()The distance unit to be used by devices in the profile.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.Stringlocale()The locale of the room profile.IntegermaxVolumeLimit()The maximum volume limit for a room profile.CreateMeetingRoomConfigurationmeetingRoomConfiguration()The meeting room settings of a room profile.StringprofileName()The name of a room profile.BooleanpstnEnabled()Whether PSTN calling is enabled.List<SdkField<?>>sdkFields()static Class<? extends CreateProfileRequest.Builder>serializableBuilderClass()BooleansetupModeDisabled()Whether room profile setup is enabled.List<Tag>tags()The tags for the profile.TemperatureUnittemperatureUnit()The temperature unit to be used by devices in the profile.StringtemperatureUnitAsString()The temperature unit to be used by devices in the profile.Stringtimezone()The time zone used by a room profile.CreateProfileRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.WakeWordwakeWord()A wake word for Alexa, Echo, Amazon, or a computer.StringwakeWordAsString()A wake word for Alexa, Echo, Amazon, or a computer.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
profileName
public final String profileName()
The name of a room profile.
- Returns:
- The name of a room profile.
-
timezone
public final String timezone()
The time zone used by a room profile.
- Returns:
- The time zone used by a room profile.
-
address
public final String address()
The valid address for the room.
- Returns:
- The valid address for the room.
-
distanceUnit
public final DistanceUnit distanceUnit()
The distance unit to be used by devices in the profile.
If the service returns an enum value that is not available in the current SDK version,
distanceUnitwill returnDistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdistanceUnitAsString().- Returns:
- The distance unit to be used by devices in the profile.
- See Also:
DistanceUnit
-
distanceUnitAsString
public final String distanceUnitAsString()
The distance unit to be used by devices in the profile.
If the service returns an enum value that is not available in the current SDK version,
distanceUnitwill returnDistanceUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdistanceUnitAsString().- Returns:
- The distance unit to be used by devices in the profile.
- See Also:
DistanceUnit
-
temperatureUnit
public final TemperatureUnit temperatureUnit()
The temperature unit to be used by devices in the profile.
If the service returns an enum value that is not available in the current SDK version,
temperatureUnitwill returnTemperatureUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemperatureUnitAsString().- Returns:
- The temperature unit to be used by devices in the profile.
- See Also:
TemperatureUnit
-
temperatureUnitAsString
public final String temperatureUnitAsString()
The temperature unit to be used by devices in the profile.
If the service returns an enum value that is not available in the current SDK version,
temperatureUnitwill returnTemperatureUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemperatureUnitAsString().- Returns:
- The temperature unit to be used by devices in the profile.
- See Also:
TemperatureUnit
-
wakeWord
public final WakeWord wakeWord()
A wake word for Alexa, Echo, Amazon, or a computer.
If the service returns an enum value that is not available in the current SDK version,
wakeWordwill returnWakeWord.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwakeWordAsString().- Returns:
- A wake word for Alexa, Echo, Amazon, or a computer.
- See Also:
WakeWord
-
wakeWordAsString
public final String wakeWordAsString()
A wake word for Alexa, Echo, Amazon, or a computer.
If the service returns an enum value that is not available in the current SDK version,
wakeWordwill returnWakeWord.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwakeWordAsString().- Returns:
- A wake word for Alexa, Echo, Amazon, or a computer.
- See Also:
WakeWord
-
locale
public final String locale()
The locale of the room profile. (This is currently only available to a limited preview audience.)
- Returns:
- The locale of the room profile. (This is currently only available to a limited preview audience.)
-
clientRequestToken
public final String clientRequestToken()
The user-specified token that is used during the creation of a profile.
- Returns:
- The user-specified token that is used during the creation of a profile.
-
setupModeDisabled
public final Boolean setupModeDisabled()
Whether room profile setup is enabled.
- Returns:
- Whether room profile setup is enabled.
-
maxVolumeLimit
public final Integer maxVolumeLimit()
The maximum volume limit for a room profile.
- Returns:
- The maximum volume limit for a room profile.
-
pstnEnabled
public final Boolean pstnEnabled()
Whether PSTN calling is enabled.
- Returns:
- Whether PSTN calling is enabled.
-
dataRetentionOptIn
public final Boolean dataRetentionOptIn()
Whether data retention of the profile is enabled.
- Returns:
- Whether data retention of the profile is enabled.
-
meetingRoomConfiguration
public final CreateMeetingRoomConfiguration meetingRoomConfiguration()
The meeting room settings of a room profile.
- Returns:
- The meeting room settings of a room profile.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags 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.
-
tags
public final List<Tag> tags()
The tags for the profile.
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
hasTags()method.- Returns:
- The tags for the profile.
-
toBuilder
public CreateProfileRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>- Specified by:
toBuilderin classAlexaForBusinessRequest
-
builder
public static CreateProfileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateProfileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-