Interface GenerateEmbedUrlForAnonymousUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GenerateEmbedUrlForAnonymousUserRequest.Builder,,GenerateEmbedUrlForAnonymousUserRequest> QuickSightRequest.Builder,SdkBuilder<GenerateEmbedUrlForAnonymousUserRequest.Builder,,GenerateEmbedUrlForAnonymousUserRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GenerateEmbedUrlForAnonymousUserRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedDomains(String... allowedDomains) The domains that you want to add to the allow list for access to the generated URL that is then embedded.allowedDomains(Collection<String> allowedDomains) The domains that you want to add to the allow list for access to the generated URL that is then embedded.authorizedResourceArns(String... authorizedResourceArns) The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.authorizedResourceArns(Collection<String> authorizedResourceArns) The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.awsAccountId(String awsAccountId) The ID for the Amazon Web Services account that contains the dashboard that you're embedding.experienceConfiguration(Consumer<AnonymousUserEmbeddingExperienceConfiguration.Builder> experienceConfiguration) The configuration of the experience that you are embedding.experienceConfiguration(AnonymousUserEmbeddingExperienceConfiguration experienceConfiguration) The configuration of the experience that you are embedding.The Amazon Quick Sight namespace that the anonymous user virtually belongs to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionLifetimeInMinutes(Long sessionLifetimeInMinutes) How many minutes the session is valid.sessionTags(Collection<SessionTag> sessionTags) Session tags are user-specified strings that identify a session in your application.sessionTags(Consumer<SessionTag.Builder>... sessionTags) Session tags are user-specified strings that identify a session in your application.sessionTags(SessionTag... sessionTags) Session tags are user-specified strings that identify a session in your application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID for the Amazon Web Services account that contains the dashboard that you're embedding.
- Parameters:
awsAccountId- The ID for the Amazon Web Services account that contains the dashboard that you're embedding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionLifetimeInMinutes
GenerateEmbedUrlForAnonymousUserRequest.Builder sessionLifetimeInMinutes(Long sessionLifetimeInMinutes) How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.
- Parameters:
sessionLifetimeInMinutes- How many minutes the session is valid. The session lifetime must be in [15-600] minutes range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The Amazon Quick Sight namespace that the anonymous user virtually belongs to. If you are not using an Amazon Quick Suite custom namespace, set this to
default.- Parameters:
namespace- The Amazon Quick Sight namespace that the anonymous user virtually belongs to. If you are not using an Amazon Quick Suite custom namespace, set this todefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionTags
Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use the
SessionTagsparameter, make sure that you have configured the relevant datasets using theDataSet$RowLevelPermissionTagConfigurationparameter so that session tags can be used to provide row-level security.When using session tags, you must call
GenerateEmbedUrlForAnonymousUserfrom a secure, trusted environment. The API call passes session tags that enable server-side data redaction by using the row-level security (RLS) rules configured in your datasets. A secure, trusted environment has access controls that you implement. These controls ensure that only your server or authorized users can add or modify session tags.Besides, these are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags in the Amazon Quick Suite User Guide.
- Parameters:
sessionTags- Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use theSessionTagsparameter, make sure that you have configured the relevant datasets using theDataSet$RowLevelPermissionTagConfigurationparameter so that session tags can be used to provide row-level security.When using session tags, you must call
GenerateEmbedUrlForAnonymousUserfrom a secure, trusted environment. The API call passes session tags that enable server-side data redaction by using the row-level security (RLS) rules configured in your datasets. A secure, trusted environment has access controls that you implement. These controls ensure that only your server or authorized users can add or modify session tags.Besides, these are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags in the Amazon Quick Suite User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionTags
Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use the
SessionTagsparameter, make sure that you have configured the relevant datasets using theDataSet$RowLevelPermissionTagConfigurationparameter so that session tags can be used to provide row-level security.When using session tags, you must call
GenerateEmbedUrlForAnonymousUserfrom a secure, trusted environment. The API call passes session tags that enable server-side data redaction by using the row-level security (RLS) rules configured in your datasets. A secure, trusted environment has access controls that you implement. These controls ensure that only your server or authorized users can add or modify session tags.Besides, these are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags in the Amazon Quick Suite User Guide.
- Parameters:
sessionTags- Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use theSessionTagsparameter, make sure that you have configured the relevant datasets using theDataSet$RowLevelPermissionTagConfigurationparameter so that session tags can be used to provide row-level security.When using session tags, you must call
GenerateEmbedUrlForAnonymousUserfrom a secure, trusted environment. The API call passes session tags that enable server-side data redaction by using the row-level security (RLS) rules configured in your datasets. A secure, trusted environment has access controls that you implement. These controls ensure that only your server or authorized users can add or modify session tags.Besides, these are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags in the Amazon Quick Suite User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionTags
GenerateEmbedUrlForAnonymousUserRequest.Builder sessionTags(Consumer<SessionTag.Builder>... sessionTags) Session tags are user-specified strings that identify a session in your application. You can use these tags to implement row-level security (RLS) controls. Before you use the
SessionTagsparameter, make sure that you have configured the relevant datasets using theDataSet$RowLevelPermissionTagConfigurationparameter so that session tags can be used to provide row-level security.When using session tags, you must call
GenerateEmbedUrlForAnonymousUserfrom a secure, trusted environment. The API call passes session tags that enable server-side data redaction by using the row-level security (RLS) rules configured in your datasets. A secure, trusted environment has access controls that you implement. These controls ensure that only your server or authorized users can add or modify session tags.Besides, these are not the tags used for the Amazon Web Services resource tagging feature. For more information, see Using Row-Level Security (RLS) with Tags in the Amazon Quick Suite User Guide.
This is a convenience method that creates an instance of theSessionTag.Builderavoiding the need to create one manually viaSessionTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionTags(List<SessionTag>).- Parameters:
sessionTags- a consumer that will call methods onSessionTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizedResourceArns
GenerateEmbedUrlForAnonymousUserRequest.Builder authorizedResourceArns(Collection<String> authorizedResourceArns) The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.
If you choose
Dashboardembedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to.
Currently, you can pass up to 25 theme ARNs in each API call.
- Parameters:
authorizedResourceArns- The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.If you choose
Dashboardembedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to.
Currently, you can pass up to 25 theme ARNs in each API call.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedResourceArns
GenerateEmbedUrlForAnonymousUserRequest.Builder authorizedResourceArns(String... authorizedResourceArns) The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.
If you choose
Dashboardembedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to.
Currently, you can pass up to 25 theme ARNs in each API call.
- Parameters:
authorizedResourceArns- The Amazon Resource Names (ARNs) for the Quick Sight resources that the user is authorized to access during the lifetime of the session.If you choose
Dashboardembedding experience, pass the list of dashboard ARNs in the account that you want the user to be able to view.If you want to make changes to the theme of your embedded content, pass a list of theme ARNs that the anonymous users need access to.
Currently, you can pass up to 25 theme ARNs in each API call.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experienceConfiguration
GenerateEmbedUrlForAnonymousUserRequest.Builder experienceConfiguration(AnonymousUserEmbeddingExperienceConfiguration experienceConfiguration) The configuration of the experience that you are embedding.
- Parameters:
experienceConfiguration- The configuration of the experience that you are embedding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experienceConfiguration
default GenerateEmbedUrlForAnonymousUserRequest.Builder experienceConfiguration(Consumer<AnonymousUserEmbeddingExperienceConfiguration.Builder> experienceConfiguration) The configuration of the experience that you are embedding.
This is a convenience method that creates an instance of theAnonymousUserEmbeddingExperienceConfiguration.Builderavoiding the need to create one manually viaAnonymousUserEmbeddingExperienceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperienceConfiguration(AnonymousUserEmbeddingExperienceConfiguration).- Parameters:
experienceConfiguration- a consumer that will call methods onAnonymousUserEmbeddingExperienceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedDomains
The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage Quick Sight menu in the Amazon Quick Sight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.
To include all subdomains under a specific domain to the allow list, use
*. For example,https://*.sapp.amazon.comincludes all subdomains underhttps://sapp.amazon.com.- Parameters:
allowedDomains- The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage Quick Sight menu in the Amazon Quick Sight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.To include all subdomains under a specific domain to the allow list, use
*. For example,https://*.sapp.amazon.comincludes all subdomains underhttps://sapp.amazon.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedDomains
The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage Quick Sight menu in the Amazon Quick Sight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.
To include all subdomains under a specific domain to the allow list, use
*. For example,https://*.sapp.amazon.comincludes all subdomains underhttps://sapp.amazon.com.- Parameters:
allowedDomains- The domains that you want to add to the allow list for access to the generated URL that is then embedded. This optional parameter overrides the static domains that are configured in the Manage Quick Sight menu in the Amazon Quick Sight console. Instead, it allows only the domains that you include in this parameter. You can list up to three domains or subdomains in each API call.To include all subdomains under a specific domain to the allow list, use
*. For example,https://*.sapp.amazon.comincludes all subdomains underhttps://sapp.amazon.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GenerateEmbedUrlForAnonymousUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GenerateEmbedUrlForAnonymousUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-