@Generated(value="software.amazon.awssdk:codegen") public final class CreateTemplateRequest extends QuickSightRequest implements ToCopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateTemplateRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsAccountId()
The ID for the AWS account that the group is in.
|
static CreateTemplateRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPermissions()
Returns true if the Permissions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
A display name for the template.
|
List<ResourcePermission> |
permissions()
A list of resource permissions to be set on the template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTemplateRequest.Builder> |
serializableBuilderClass() |
TemplateSourceEntity |
sourceEntity()
The entity that you are using as a source when you create the template.
|
List<Tag> |
tags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
String |
templateId()
An ID for the template that you want to create.
|
CreateTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionDescription()
A description of the current template version being created.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String awsAccountId()
The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
public String templateId()
An ID for the template that you want to create. This template is unique per AWS Region in each AWS account.
public String name()
A display name for the template.
public boolean hasPermissions()
public List<ResourcePermission> permissions()
A list of resource permissions to be set on the template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPermissions()
to see if a value was sent in this field.
public TemplateSourceEntity sourceEntity()
The entity that you are using as a source when you create the template. In SourceEntity
, you specify
the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
, specify the
ARN of the source analysis. The SourceTemplate
ARN can contain any AWS Account and any
QuickSight-supported AWS Region.
Use the DataSetReferences
entity within SourceTemplate
or SourceAnalysis
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must
match its placeholder.
SourceEntity
, you
specify the type of object you're using as source: SourceTemplate
for a template or
SourceAnalysis
for an analysis. Both of these require an Amazon Resource Name (ARN). For
SourceTemplate
, specify the ARN of the source template. For SourceAnalysis
,
specify the ARN of the source analysis. The SourceTemplate
ARN can contain any AWS Account
and any QuickSight-supported AWS Region.
Use the DataSetReferences
entity within SourceTemplate
or
SourceAnalysis
to list the replacement datasets for the placeholders listed in the original.
The schema in each dataset must match its placeholder.
public boolean hasTags()
public List<Tag> tags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public String versionDescription()
A description of the current template version being created. This API operation creates the first version of the
template. Every time UpdateTemplate
is called, a new version is created. Each version of the
template maintains a description of the version in the VersionDescription
field.
UpdateTemplate
is called, a new version is created. Each version
of the template maintains a description of the version in the VersionDescription
field.public CreateTemplateRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
toBuilder
in class QuickSightRequest
public static CreateTemplateRequest.Builder builder()
public static Class<? extends CreateTemplateRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.