Interface CreateOneTimeDeepLinkCodeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<CreateOneTimeDeepLinkCodeRequest.Builder,,CreateOneTimeDeepLinkCodeRequest> SdkBuilder<CreateOneTimeDeepLinkCodeRequest.Builder,,CreateOneTimeDeepLinkCodeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateOneTimeDeepLinkCodeRequest
@Mutable
@NotThreadSafe
public static interface CreateOneTimeDeepLinkCodeRequest.Builder
extends CloudWatchOmniRequest.Builder, SdkPojo, CopyableBuilder<CreateOneTimeDeepLinkCodeRequest.Builder,CreateOneTimeDeepLinkCodeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the domain to generate the code for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.redirectUrl(String redirectUrl) The URL to redirect to after the deep-link code is used.ttlSeconds(Integer ttlSeconds) How long the code remains valid, in seconds.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainId
The ID of the domain to generate the code for.
- Parameters:
domainId- The ID of the domain to generate the code for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttlSeconds
How long the code remains valid, in seconds. Defaults to 300.
- Parameters:
ttlSeconds- How long the code remains valid, in seconds. Defaults to 300.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectUrl
The URL to redirect to after the deep-link code is used. Must be an HTTPS URL in the domain with a path of /auth/callback, and cannot include a query string or fragment. If omitted, no redirect is applied.
- Parameters:
redirectUrl- The URL to redirect to after the deep-link code is used. Must be an HTTPS URL in the domain with a path of /auth/callback, and cannot include a query string or fragment. If omitted, no redirect is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateOneTimeDeepLinkCodeRequest.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
CreateOneTimeDeepLinkCodeRequest.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.
-