@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateThemeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateThemeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateThemeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the Amazon Web Services account where you want to store the new theme.
|
String |
getBaseThemeId()
The ID of the theme that a custom theme will inherit from.
|
ThemeConfiguration |
getConfiguration()
The theme configuration, which contains the theme display properties.
|
String |
getName()
A display name for the theme.
|
List<ResourcePermission> |
getPermissions()
A valid grouping of resource permissions to apply to the new theme.
|
List<Tag> |
getTags()
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
|
String |
getThemeId()
An ID for the theme that you want to create.
|
String |
getVersionDescription()
A description of the first version of the theme that you're creating.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to store the new theme.
|
void |
setBaseThemeId(String baseThemeId)
The ID of the theme that a custom theme will inherit from.
|
void |
setConfiguration(ThemeConfiguration configuration)
The theme configuration, which contains the theme display properties.
|
void |
setName(String name)
A display name for the theme.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A valid grouping of resource permissions to apply to the new theme.
|
void |
setTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
|
void |
setThemeId(String themeId)
An ID for the theme that you want to create.
|
void |
setVersionDescription(String versionDescription)
A description of the first version of the theme that you're creating.
|
String |
toString()
Returns a string representation of this object.
|
CreateThemeRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to store the new theme.
|
CreateThemeRequest |
withBaseThemeId(String baseThemeId)
The ID of the theme that a custom theme will inherit from.
|
CreateThemeRequest |
withConfiguration(ThemeConfiguration configuration)
The theme configuration, which contains the theme display properties.
|
CreateThemeRequest |
withName(String name)
A display name for the theme.
|
CreateThemeRequest |
withPermissions(Collection<ResourcePermission> permissions)
A valid grouping of resource permissions to apply to the new theme.
|
CreateThemeRequest |
withPermissions(ResourcePermission... permissions)
A valid grouping of resource permissions to apply to the new theme.
|
CreateThemeRequest |
withTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
|
CreateThemeRequest |
withTags(Tag... tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
|
CreateThemeRequest |
withThemeId(String themeId)
An ID for the theme that you want to create.
|
CreateThemeRequest |
withVersionDescription(String versionDescription)
A description of the first version of the theme that you're creating.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to store the new theme.
awsAccountId
- The ID of the Amazon Web Services account where you want to store the new theme.public String getAwsAccountId()
The ID of the Amazon Web Services account where you want to store the new theme.
public CreateThemeRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to store the new theme.
awsAccountId
- The ID of the Amazon Web Services account where you want to store the new theme.public void setThemeId(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.
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 String getThemeId()
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 CreateThemeRequest withThemeId(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.
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 void setName(String name)
A display name for the theme.
name
- A display name for the theme.public String getName()
A display name for the theme.
public CreateThemeRequest withName(String name)
A display name for the theme.
name
- A display name for the theme.public void setBaseThemeId(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.
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.public String getBaseThemeId()
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 CreateThemeRequest withBaseThemeId(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.
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.public void setVersionDescription(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.
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.public String getVersionDescription()
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 CreateThemeRequest withVersionDescription(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.
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.public void setConfiguration(ThemeConfiguration configuration)
The theme configuration, which contains the theme display properties.
configuration
- The theme configuration, which contains the theme display properties.public ThemeConfiguration getConfiguration()
The theme configuration, which contains the theme display properties.
public CreateThemeRequest withConfiguration(ThemeConfiguration configuration)
The theme configuration, which contains the theme display properties.
configuration
- The theme configuration, which contains the theme display properties.public List<ResourcePermission> getPermissions()
A valid grouping of resource permissions to apply to the new theme.
public void setPermissions(Collection<ResourcePermission> permissions)
A valid grouping of resource permissions to apply to the new theme.
permissions
- A valid grouping of resource permissions to apply to the new theme.public CreateThemeRequest withPermissions(ResourcePermission... permissions)
A valid grouping of resource permissions to apply to the new theme.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- A valid grouping of resource permissions to apply to the new theme.public CreateThemeRequest withPermissions(Collection<ResourcePermission> permissions)
A valid grouping of resource permissions to apply to the new theme.
permissions
- A valid grouping of resource permissions to apply to the new theme.public List<Tag> getTags()
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
public void setTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.public CreateThemeRequest withTags(Tag... tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.public CreateThemeRequest withTags(Collection<Tag> tags)
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.public String toString()
toString
in class Object
Object.toString()
public CreateThemeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()