@Generated(value="software.amazon.awssdk:codegen") public final class CreateThemeRequest extends QuickSightRequest implements ToCopyableBuilder<CreateThemeRequest.Builder,CreateThemeRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateThemeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsAccountId()
The ID of the Amazon Web Services account where you want to store the new theme.
|
String |
baseThemeId()
The ID of the theme that a custom theme will inherit from.
|
static CreateThemeRequest.Builder |
builder() |
ThemeConfiguration |
configuration()
The theme configuration, which contains the theme display properties.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPermissions()
For responses, this returns true if the service returned a value for the Permissions property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
name()
A display name for the theme.
|
List<ResourcePermission> |
permissions()
A valid grouping of resource permissions to apply to the new theme.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateThemeRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
|
String |
themeId()
An ID for the theme that you want to create.
|
CreateThemeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionDescription()
A description of the first version of the theme that you're creating.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String awsAccountId()
The ID of the Amazon Web Services account where you want to store the new theme.
public final String themeId()
An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.
public final String name()
A display name for the theme.
public final String baseThemeId()
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes
defined by Amazon QuickSight. For a list of the starting themes, use ListThemes
or choose
Themes from within an analysis.
ListThemes
or
choose Themes from within an analysis.public final String versionDescription()
A description of the first version of the theme that you're creating. Every time UpdateTheme
is
called, a new version is created. Each version of the theme has a description of the version in the
VersionDescription
field.
UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in the
VersionDescription
field.public final ThemeConfiguration configuration()
The theme configuration, which contains the theme display properties.
public final boolean hasPermissions()
isEmpty()
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.public final List<ResourcePermission> permissions()
A valid grouping of resource permissions to apply to the new theme.
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 hasPermissions()
method.
public final boolean hasTags()
isEmpty()
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.public final List<Tag> tags()
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
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.
public CreateThemeRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateThemeRequest.Builder,CreateThemeRequest>
toBuilder
in class QuickSightRequest
public static CreateThemeRequest.Builder builder()
public static Class<? extends CreateThemeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.