Interface CreateCimdPolicyRequest.Builder

  • Method Details

    • userPoolId

      CreateCimdPolicyRequest.Builder userPoolId(String 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

      CreateCimdPolicyRequest.Builder policyName(String 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

      CreateCimdPolicyRequest.Builder cacheDuration(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 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

      CreateCimdPolicyRequest.Builder urlPatterns(String... 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.