Class WebAppUnits
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.WebAppUnits
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebAppUnits.Builder,WebAppUnits>
@Generated("software.amazon.awssdk:codegen") public final class WebAppUnits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebAppUnits.Builder,WebAppUnits>
Contains an integer value that represents the value for number of concurrent connections or the user sessions on your web app.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebAppUnits.Builderstatic classWebAppUnits.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebAppUnits.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static WebAppUnitsfromProvisioned(Integer provisioned)Create an instance of this class withprovisioned()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerprovisioned()An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WebAppUnits.Builder>serializableBuilderClass()WebAppUnits.BuildertoBuilder()StringtoString()Returns a string representation of this object.WebAppUnits.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
provisioned
public final Integer provisioned()
An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.
Each increment allows an additional 250 concurrent sessions: a value of
1sets the number of concurrent sessions to 250;2sets a value of 500, and so on.- Returns:
- An integer that represents the number of units for your desired number of concurrent connections, or the
number of user sessions on your web app at the same time.
Each increment allows an additional 250 concurrent sessions: a value of
1sets the number of concurrent sessions to 250;2sets a value of 500, and so on.
-
toBuilder
public WebAppUnits.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebAppUnits.Builder,WebAppUnits>
-
builder
public static WebAppUnits.Builder builder()
-
serializableBuilderClass
public static Class<? extends WebAppUnits.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.
-
fromProvisioned
public static WebAppUnits fromProvisioned(Integer provisioned)
Create an instance of this class withprovisioned()initialized to the given value.An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.
Each increment allows an additional 250 concurrent sessions: a value of
1sets the number of concurrent sessions to 250;2sets a value of 500, and so on.- Parameters:
provisioned- An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.Each increment allows an additional 250 concurrent sessions: a value of
1sets the number of concurrent sessions to 250;2sets a value of 500, and so on.
-
type
public WebAppUnits.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beWebAppUnits.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beWebAppUnits.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-