Class ApiKeyState.Builder

  • Enclosing class:
    ApiKeyState

    public static final class ApiKeyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • apiId

        public ApiKeyState.Builder apiId​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> apiId)
        Parameters:
        apiId - ID of the associated AppSync API
        Returns:
        builder
      • apiId

        public ApiKeyState.Builder apiId​(java.lang.String apiId)
        Parameters:
        apiId - ID of the associated AppSync API
        Returns:
        builder
      • description

        public ApiKeyState.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - API key description. Defaults to "Managed by Pulumi".
        Returns:
        builder
      • description

        public ApiKeyState.Builder description​(java.lang.String description)
        Parameters:
        description - API key description. Defaults to "Managed by Pulumi".
        Returns:
        builder
      • expires

        public ApiKeyState.Builder expires​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> expires)
        Parameters:
        expires - RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
        Returns:
        builder
      • expires

        public ApiKeyState.Builder expires​(java.lang.String expires)
        Parameters:
        expires - RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
        Returns:
        builder
      • key

        public ApiKeyState.Builder key​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> key)
        Parameters:
        key - API key
        Returns:
        builder
      • key

        public ApiKeyState.Builder key​(java.lang.String key)
        Parameters:
        key - API key
        Returns:
        builder