Class StreamingProperties
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.StreamingProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamingProperties.Builder,StreamingProperties>
@Generated("software.amazon.awssdk:codegen") public final class StreamingProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamingProperties.Builder,StreamingProperties>
Describes the streaming properties.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamingProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamingProperties.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GlobalAcceleratorForDirectoryglobalAccelerator()Indicates the Global Accelerator properties.inthashCode()booleanhasStorageConnectors()For responses, this returns true if the service returned a value for the StorageConnectors property.booleanhasUserSettings()For responses, this returns true if the service returned a value for the UserSettings property.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StreamingProperties.Builder>serializableBuilderClass()List<StorageConnector>storageConnectors()Indicates the storage connector usedStreamingExperiencePreferredProtocolEnumstreamingExperiencePreferredProtocol()Indicates the type of preferred protocol for the streaming experience.StringstreamingExperiencePreferredProtocolAsString()Indicates the type of preferred protocol for the streaming experience.StreamingProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<UserSetting>userSettings()Indicates the permission settings asscoiated with the user.-
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
-
streamingExperiencePreferredProtocol
public final StreamingExperiencePreferredProtocolEnum streamingExperiencePreferredProtocol()
Indicates the type of preferred protocol for the streaming experience.
If the service returns an enum value that is not available in the current SDK version,
streamingExperiencePreferredProtocolwill returnStreamingExperiencePreferredProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamingExperiencePreferredProtocolAsString().- Returns:
- Indicates the type of preferred protocol for the streaming experience.
- See Also:
StreamingExperiencePreferredProtocolEnum
-
streamingExperiencePreferredProtocolAsString
public final String streamingExperiencePreferredProtocolAsString()
Indicates the type of preferred protocol for the streaming experience.
If the service returns an enum value that is not available in the current SDK version,
streamingExperiencePreferredProtocolwill returnStreamingExperiencePreferredProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamingExperiencePreferredProtocolAsString().- Returns:
- Indicates the type of preferred protocol for the streaming experience.
- See Also:
StreamingExperiencePreferredProtocolEnum
-
hasUserSettings
public final boolean hasUserSettings()
For responses, this returns true if the service returned a value for the UserSettings 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.
-
userSettings
public final List<UserSetting> userSettings()
Indicates the permission settings asscoiated with the user.
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
hasUserSettings()method.- Returns:
- Indicates the permission settings asscoiated with the user.
-
hasStorageConnectors
public final boolean hasStorageConnectors()
For responses, this returns true if the service returned a value for the StorageConnectors 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.
-
storageConnectors
public final List<StorageConnector> storageConnectors()
Indicates the storage connector used
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
hasStorageConnectors()method.- Returns:
- Indicates the storage connector used
-
globalAccelerator
public final GlobalAcceleratorForDirectory globalAccelerator()
Indicates the Global Accelerator properties.
- Returns:
- Indicates the Global Accelerator properties.
-
toBuilder
public StreamingProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamingProperties.Builder,StreamingProperties>
-
builder
public static StreamingProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamingProperties.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
-
-