@Generated(value="software.amazon.awssdk:codegen") public class CreateProfileRequest extends AlexaForBusinessRequest implements ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateProfileRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
address()
The valid address for the room.
|
static CreateProfileRequest.Builder |
builder() |
String |
clientRequestToken()
The user-specified token that is used during the creation of a profile.
|
DistanceUnit |
distanceUnit()
The distance unit to be used by devices in the profile.
|
String |
distanceUnitString()
The distance unit to be used by devices in the profile.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxVolumeLimit()
The maximum volume limit for a room profile.
|
String |
profileName()
The name of a room profile.
|
Boolean |
pstnEnabled()
Whether PSTN calling is enabled.
|
static Class<? extends CreateProfileRequest.Builder> |
serializableBuilderClass() |
Boolean |
setupModeDisabled()
Whether room profile setup is enabled.
|
TemperatureUnit |
temperatureUnit()
The temperature unit to be used by devices in the profile.
|
String |
temperatureUnitString()
The temperature unit to be used by devices in the profile.
|
String |
timezone()
The time zone used by a room profile.
|
CreateProfileRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
WakeWord |
wakeWord()
A wake word for Alexa, Echo, Amazon, or a computer.
|
String |
wakeWordString()
A wake word for Alexa, Echo, Amazon, or a computer.
|
requestOverrideConfig
copy
public String profileName()
The name of a room profile.
public String timezone()
The time zone used by a room profile.
public String address()
The valid address for the room.
public 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, distanceUnit
will
return DistanceUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
distanceUnitString()
.
DistanceUnit
public String distanceUnitString()
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, distanceUnit
will
return DistanceUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
distanceUnitString()
.
DistanceUnit
public 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, temperatureUnit
will return TemperatureUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from temperatureUnitString()
.
TemperatureUnit
public String temperatureUnitString()
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, temperatureUnit
will return TemperatureUnit.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from temperatureUnitString()
.
TemperatureUnit
public 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, wakeWord
will
return WakeWord.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
wakeWordString()
.
WakeWord
public String wakeWordString()
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, wakeWord
will
return WakeWord.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
wakeWordString()
.
WakeWord
public String clientRequestToken()
The user-specified token that is used during the creation of a profile.
public Boolean setupModeDisabled()
Whether room profile setup is enabled.
public Integer maxVolumeLimit()
The maximum volume limit for a room profile.
public Boolean pstnEnabled()
Whether PSTN calling is enabled.
public CreateProfileRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
toBuilder
in class AlexaForBusinessRequest
public static CreateProfileRequest.Builder builder()
public static Class<? extends CreateProfileRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.