@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAnalysisRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAnalysisRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAnalysisRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnalysisId()
The ID for the analysis that you're creating.
|
String |
getAwsAccountId()
The ID of the Amazon Web Services account where you are creating an analysis.
|
AnalysisDefinition |
getDefinition()
The definition of an analysis.
|
List<String> |
getFolderArns()
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
|
String |
getName()
A descriptive name for the analysis that you're creating.
|
Parameters |
getParameters()
The parameter names and override values that you want to use.
|
List<ResourcePermission> |
getPermissions()
A structure that describes the principals and the resource-level permissions on an analysis.
|
AnalysisSourceEntity |
getSourceEntity()
A source entity to use for the analysis that you're creating.
|
List<Tag> |
getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
|
String |
getThemeArn()
The ARN for the theme to apply to the analysis that you're creating.
|
ValidationStrategy |
getValidationStrategy()
The option to relax the validation needed to create an analysis with definition objects.
|
int |
hashCode() |
void |
setAnalysisId(String analysisId)
The ID for the analysis that you're creating.
|
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you are creating an analysis.
|
void |
setDefinition(AnalysisDefinition definition)
The definition of an analysis.
|
void |
setFolderArns(Collection<String> folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
|
void |
setName(String name)
A descriptive name for the analysis that you're creating.
|
void |
setParameters(Parameters parameters)
The parameter names and override values that you want to use.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
void |
setSourceEntity(AnalysisSourceEntity sourceEntity)
A source entity to use for the analysis that you're creating.
|
void |
setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
|
void |
setThemeArn(String themeArn)
The ARN for the theme to apply to the analysis that you're creating.
|
void |
setValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to create an analysis with definition objects.
|
String |
toString()
Returns a string representation of this object.
|
CreateAnalysisRequest |
withAnalysisId(String analysisId)
The ID for the analysis that you're creating.
|
CreateAnalysisRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you are creating an analysis.
|
CreateAnalysisRequest |
withDefinition(AnalysisDefinition definition)
The definition of an analysis.
|
CreateAnalysisRequest |
withFolderArns(Collection<String> folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
|
CreateAnalysisRequest |
withFolderArns(String... folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
|
CreateAnalysisRequest |
withName(String name)
A descriptive name for the analysis that you're creating.
|
CreateAnalysisRequest |
withParameters(Parameters parameters)
The parameter names and override values that you want to use.
|
CreateAnalysisRequest |
withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
CreateAnalysisRequest |
withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
CreateAnalysisRequest |
withSourceEntity(AnalysisSourceEntity sourceEntity)
A source entity to use for the analysis that you're creating.
|
CreateAnalysisRequest |
withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
|
CreateAnalysisRequest |
withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
|
CreateAnalysisRequest |
withThemeArn(String themeArn)
The ARN for the theme to apply to the analysis that you're creating.
|
CreateAnalysisRequest |
withValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to create an analysis with definition objects.
|
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 are creating an analysis.
awsAccountId
- The ID of the Amazon Web Services account where you are creating an analysis.public String getAwsAccountId()
The ID of the Amazon Web Services account where you are creating an analysis.
public CreateAnalysisRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you are creating an analysis.
awsAccountId
- The ID of the Amazon Web Services account where you are creating an analysis.public void setAnalysisId(String analysisId)
The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
analysisId
- The ID for the analysis that you're creating. This ID displays in the URL of the analysis.public String getAnalysisId()
The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
public CreateAnalysisRequest withAnalysisId(String analysisId)
The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
analysisId
- The ID for the analysis that you're creating. This ID displays in the URL of the analysis.public void setName(String name)
A descriptive name for the analysis that you're creating. This name displays for the analysis in the Amazon QuickSight console.
name
- A descriptive name for the analysis that you're creating. This name displays for the analysis in the
Amazon QuickSight console.public String getName()
A descriptive name for the analysis that you're creating. This name displays for the analysis in the Amazon QuickSight console.
public CreateAnalysisRequest withName(String name)
A descriptive name for the analysis that you're creating. This name displays for the analysis in the Amazon QuickSight console.
name
- A descriptive name for the analysis that you're creating. This name displays for the analysis in the
Amazon QuickSight console.public void setParameters(Parameters parameters)
The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.
parameters
- The parameter names and override values that you want to use. An analysis can have any parameter type, and
some parameters might accept multiple values.public Parameters getParameters()
The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.
public CreateAnalysisRequest withParameters(Parameters parameters)
The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.
parameters
- The parameter names and override values that you want to use. An analysis can have any parameter type, and
some parameters might accept multiple values.public List<ResourcePermission> getPermissions()
A structure that describes the principals and the resource-level permissions on an analysis. You can use the
Permissions
structure to grant permissions by providing a list of Identity and Access Management
(IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
Permissions
structure to grant permissions by providing a list of Identity and Access
Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
public void setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis. You can use the
Permissions
structure to grant permissions by providing a list of Identity and Access Management
(IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
permissions
- A structure that describes the principals and the resource-level permissions on an analysis. You can use
the Permissions
structure to grant permissions by providing a list of Identity and Access
Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
public CreateAnalysisRequest withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions on an analysis. You can use the
Permissions
structure to grant permissions by providing a list of Identity and Access Management
(IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
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 structure that describes the principals and the resource-level permissions on an analysis. You can use
the Permissions
structure to grant permissions by providing a list of Identity and Access
Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
public CreateAnalysisRequest withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis. You can use the
Permissions
structure to grant permissions by providing a list of Identity and Access Management
(IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
permissions
- A structure that describes the principals and the resource-level permissions on an analysis. You can use
the Permissions
structure to grant permissions by providing a list of Identity and Access
Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).
To specify no permissions, omit Permissions
.
public void setSourceEntity(AnalysisSourceEntity sourceEntity)
A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
sourceEntity
- A source entity to use for the analysis that you're creating. This metadata structure contains details
that describe a source template and one or more datasets.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public AnalysisSourceEntity getSourceEntity()
A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public CreateAnalysisRequest withSourceEntity(AnalysisSourceEntity sourceEntity)
A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
sourceEntity
- A source entity to use for the analysis that you're creating. This metadata structure contains details
that describe a source template and one or more datasets.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public void setThemeArn(String themeArn)
The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.
themeArn
- The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon
QuickSight console, make sure that you have access to it.public String getThemeArn()
The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.
public CreateAnalysisRequest withThemeArn(String themeArn)
The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.
themeArn
- The ARN for the theme to apply to the analysis that you're creating. To see the theme in the Amazon
QuickSight console, make sure that you have access to it.public List<Tag> getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
public void setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.public CreateAnalysisRequest withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
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
- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.public CreateAnalysisRequest withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.public void setDefinition(AnalysisDefinition definition)
The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
definition
- The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public AnalysisDefinition getDefinition()
The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public CreateAnalysisRequest withDefinition(AnalysisDefinition definition)
The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request to be
valid.
definition
- The definition of an analysis.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a SourceEntity
or a Definition
must be provided in order for the request
to be valid.
public void setValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.
validationStrategy
- The option to relax the validation needed to create an analysis with definition objects. This skips the
validation step for specific errors.public ValidationStrategy getValidationStrategy()
The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.
public CreateAnalysisRequest withValidationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to create an analysis with definition objects. This skips the validation step for specific errors.
validationStrategy
- The option to relax the validation needed to create an analysis with definition objects. This skips the
validation step for specific errors.public List<String> getFolderArns()
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
public void setFolderArns(Collection<String> folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
folderArns
- When you create the analysis, Amazon QuickSight adds the analysis to these folders.public CreateAnalysisRequest withFolderArns(String... folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
NOTE: This method appends the values to the existing list (if any). Use
setFolderArns(java.util.Collection)
or withFolderArns(java.util.Collection)
if you want to
override the existing values.
folderArns
- When you create the analysis, Amazon QuickSight adds the analysis to these folders.public CreateAnalysisRequest withFolderArns(Collection<String> folderArns)
When you create the analysis, Amazon QuickSight adds the analysis to these folders.
folderArns
- When you create the analysis, Amazon QuickSight adds the analysis to these folders.public String toString()
toString
in class Object
Object.toString()
public CreateAnalysisRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()