Interface CreateCimdPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<CreateCimdPolicyRequest.Builder,,CreateCimdPolicyRequest> SdkBuilder<CreateCimdPolicyRequest.Builder,,CreateCimdPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCimdPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptioncacheDuration(Integer cacheDuration) The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy.The ID of the app client that you want to associate with the CIMD policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyName(String policyName) A friendly name for the CIMD policy.urlPatterns(String... urlPatterns) One to five HTTPS URL patterns.urlPatterns(Collection<String> urlPatterns) One to five HTTPS URL patterns.userPoolId(String userPoolId) The ID of the user pool where you want to create the CIMD policy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.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
-
userPoolId
The ID of the user pool where you want to create the CIMD policy.
- Parameters:
userPoolId- The ID of the user pool where you want to create the CIMD policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The ID of the app client that you want to associate with the CIMD policy.
- Parameters:
clientId- The ID of the app client that you want to associate with the CIMD policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyName
A friendly name for the CIMD policy.
- Parameters:
policyName- A friendly name for the CIMD policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheDuration
The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy. The value must be between 86,400 seconds (one day) and 31,556,952 seconds (one year).
- Parameters:
cacheDuration- The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy. The value must be between 86,400 seconds (one day) and 31,556,952 seconds (one year).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlPatterns
One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the
*wildcard character.- Parameters:
urlPatterns- One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the*wildcard character.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlPatterns
One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the
*wildcard character.- Parameters:
urlPatterns- One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the*wildcard character.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCimdPolicyRequest.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
CreateCimdPolicyRequest.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.
-