Class UpdateThemeForStackRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appstream.model.AppStreamRequest
-
- software.amazon.awssdk.services.appstream.model.UpdateThemeForStackRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateThemeForStackRequest.Builder,UpdateThemeForStackRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateThemeForStackRequest extends AppStreamRequest implements ToCopyableBuilder<UpdateThemeForStackRequest.Builder,UpdateThemeForStackRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateThemeForStackRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ThemeAttribute>attributesToDelete()The attributes to delete.List<String>attributesToDeleteAsStrings()The attributes to delete.static UpdateThemeForStackRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)S3LocationfaviconS3Location()The S3 location of the favicon.List<ThemeFooterLink>footerLinks()The links that are displayed in the footer of the streaming application catalog page.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAttributesToDelete()For responses, this returns true if the service returned a value for the AttributesToDelete property.booleanhasFooterLinks()For responses, this returns true if the service returned a value for the FooterLinks property.inthashCode()S3LocationorganizationLogoS3Location()The organization logo that appears on the streaming application catalog page.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateThemeForStackRequest.Builder>serializableBuilderClass()StringstackName()The name of the stack for the theme.ThemeStatestate()Specifies whether custom branding should be applied to catalog page or not.StringstateAsString()Specifies whether custom branding should be applied to catalog page or not.ThemeStylingthemeStyling()The color theme that is applied to website links, text, and buttons.StringthemeStylingAsString()The color theme that is applied to website links, text, and buttons.StringtitleText()The title that is displayed at the top of the browser tab during users' application streaming sessions.UpdateThemeForStackRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
stackName
public final String stackName()
The name of the stack for the theme.
- Returns:
- The name of the stack for the theme.
-
hasFooterLinks
public final boolean hasFooterLinks()
For responses, this returns true if the service returned a value for the FooterLinks 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.
-
footerLinks
public final List<ThemeFooterLink> footerLinks()
The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.
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
hasFooterLinks()method.- Returns:
- The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.
-
titleText
public final String titleText()
The title that is displayed at the top of the browser tab during users' application streaming sessions.
- Returns:
- The title that is displayed at the top of the browser tab during users' application streaming sessions.
-
themeStyling
public final ThemeStyling themeStyling()
The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
If the service returns an enum value that is not available in the current SDK version,
themeStylingwill returnThemeStyling.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromthemeStylingAsString().- Returns:
- The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
- See Also:
ThemeStyling
-
themeStylingAsString
public final String themeStylingAsString()
The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
If the service returns an enum value that is not available in the current SDK version,
themeStylingwill returnThemeStyling.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromthemeStylingAsString().- Returns:
- The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
- See Also:
ThemeStyling
-
organizationLogoS3Location
public final S3Location organizationLogoS3Location()
The organization logo that appears on the streaming application catalog page.
- Returns:
- The organization logo that appears on the streaming application catalog page.
-
faviconS3Location
public final S3Location faviconS3Location()
The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.
- Returns:
- The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.
-
state
public final ThemeState state()
Specifies whether custom branding should be applied to catalog page or not.
If the service returns an enum value that is not available in the current SDK version,
statewill returnThemeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Specifies whether custom branding should be applied to catalog page or not.
- See Also:
ThemeState
-
stateAsString
public final String stateAsString()
Specifies whether custom branding should be applied to catalog page or not.
If the service returns an enum value that is not available in the current SDK version,
statewill returnThemeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Specifies whether custom branding should be applied to catalog page or not.
- See Also:
ThemeState
-
attributesToDelete
public final List<ThemeAttribute> attributesToDelete()
The attributes to delete.
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
hasAttributesToDelete()method.- Returns:
- The attributes to delete.
-
hasAttributesToDelete
public final boolean hasAttributesToDelete()
For responses, this returns true if the service returned a value for the AttributesToDelete 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.
-
attributesToDeleteAsStrings
public final List<String> attributesToDeleteAsStrings()
The attributes to delete.
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
hasAttributesToDelete()method.- Returns:
- The attributes to delete.
-
toBuilder
public UpdateThemeForStackRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateThemeForStackRequest.Builder,UpdateThemeForStackRequest>- Specified by:
toBuilderin classAppStreamRequest
-
builder
public static UpdateThemeForStackRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateThemeForStackRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-