Class SecretV1Args.Builder

  • Enclosing class:
    SecretV1Args

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

      • Builder

        public Builder()
    • Method Detail

      • acl

        public SecretV1Args.Builder acl​(@Nullable
                                        com.pulumi.core.Output<SecretV1AclArgs> acl)
        Parameters:
        acl - Allows to control an access to a secret. Currently only the `read` operation is supported. If not specified, the secret is accessible project wide.
        Returns:
        builder
      • acl

        public SecretV1Args.Builder acl​(SecretV1AclArgs acl)
        Parameters:
        acl - Allows to control an access to a secret. Currently only the `read` operation is supported. If not specified, the secret is accessible project wide.
        Returns:
        builder
      • algorithm

        public SecretV1Args.Builder algorithm​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> algorithm)
        Parameters:
        algorithm - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • algorithm

        public SecretV1Args.Builder algorithm​(java.lang.String algorithm)
        Parameters:
        algorithm - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • bitLength

        public SecretV1Args.Builder bitLength​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> bitLength)
        Parameters:
        bitLength - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • bitLength

        public SecretV1Args.Builder bitLength​(java.lang.Integer bitLength)
        Parameters:
        bitLength - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • expiration

        public SecretV1Args.Builder expiration​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> expiration)
        Parameters:
        expiration - The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
        Returns:
        builder
      • expiration

        public SecretV1Args.Builder expiration​(java.lang.String expiration)
        Parameters:
        expiration - The expiration time of the secret in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, a secret will never expire. Changing this creates a new secret.
        Returns:
        builder
      • metadata

        public SecretV1Args.Builder metadata​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> metadata)
        Parameters:
        metadata - Additional Metadata for the secret.
        Returns:
        builder
      • metadata

        public SecretV1Args.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Parameters:
        metadata - Additional Metadata for the secret.
        Returns:
        builder
      • mode

        public SecretV1Args.Builder mode​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> mode)
        Parameters:
        mode - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • mode

        public SecretV1Args.Builder mode​(java.lang.String mode)
        Parameters:
        mode - Metadata provided by a user or system for informational purposes.
        Returns:
        builder
      • name

        public SecretV1Args.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Human-readable name for the Secret. Does not have to be unique.
        Returns:
        builder
      • name

        public SecretV1Args.Builder name​(java.lang.String name)
        Parameters:
        name - Human-readable name for the Secret. Does not have to be unique.
        Returns:
        builder
      • payload

        public SecretV1Args.Builder payload​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> payload)
        Parameters:
        payload - The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
        Returns:
        builder
      • payload

        public SecretV1Args.Builder payload​(java.lang.String payload)
        Parameters:
        payload - The secret's data to be stored. **payload\_content\_type** must also be supplied if **payload** is included.
        Returns:
        builder
      • payloadContentEncoding

        public SecretV1Args.Builder payloadContentEncoding​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> payloadContentEncoding)
        Parameters:
        payloadContentEncoding - (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
        Returns:
        builder
      • payloadContentEncoding

        public SecretV1Args.Builder payloadContentEncoding​(java.lang.String payloadContentEncoding)
        Parameters:
        payloadContentEncoding - (required if **payload** is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either `base64` or `binary`.
        Returns:
        builder
      • payloadContentType

        public SecretV1Args.Builder payloadContentType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> payloadContentType)
        Parameters:
        payloadContentType - (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
        Returns:
        builder
      • payloadContentType

        public SecretV1Args.Builder payloadContentType​(java.lang.String payloadContentType)
        Parameters:
        payloadContentType - (required if **payload** is included) The media type for the content of the payload. Must be one of `text/plain`, `text/plain;charset=utf-8`, `text/plain; charset=utf-8`, `application/octet-stream`, `application/pkcs8`.
        Returns:
        builder
      • region

        public SecretV1Args.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a secret. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 secret.
        Returns:
        builder
      • region

        public SecretV1Args.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a secret. If omitted, the `region` argument of the provider is used. Changing this creates a new V1 secret.
        Returns:
        builder
      • secretType

        public SecretV1Args.Builder secretType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> secretType)
        Parameters:
        secretType - Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
        Returns:
        builder
      • secretType

        public SecretV1Args.Builder secretType​(java.lang.String secretType)
        Parameters:
        secretType - Used to indicate the type of secret being stored. For more information see [Secret types](https://docs.openstack.org/barbican/latest/api/reference/secret_types.html).
        Returns:
        builder