Class WorkspaceArgs.Builder

  • Enclosing class:
    WorkspaceArgs

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

      • Builder

        public Builder()
    • Method Detail

      • alias

        public WorkspaceArgs.Builder alias​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> alias)
        Parameters:
        alias - Alias of the prometheus workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-create-workspace.html).
        Returns:
        builder
      • alias

        public WorkspaceArgs.Builder alias​(java.lang.String alias)
        Parameters:
        alias - Alias of the prometheus workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-create-workspace.html).
        Returns:
        builder
      • kmsKeyArn

        public WorkspaceArgs.Builder kmsKeyArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html)
        Returns:
        builder
      • kmsKeyArn

        public WorkspaceArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more [in AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html)
        Returns:
        builder
      • loggingConfiguration

        public WorkspaceArgs.Builder loggingConfiguration​(@Nullable
                                                          com.pulumi.core.Output<WorkspaceLoggingConfigurationArgs> loggingConfiguration)
        Parameters:
        loggingConfiguration - Logging configuration for the workspace. See `loggingConfiguration` Block below for details.
        Returns:
        builder
      • loggingConfiguration

        public WorkspaceArgs.Builder loggingConfiguration​(WorkspaceLoggingConfigurationArgs loggingConfiguration)
        Parameters:
        loggingConfiguration - Logging configuration for the workspace. See `loggingConfiguration` Block below for details.
        Returns:
        builder
      • region

        public WorkspaceArgs.Builder region​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public WorkspaceArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public WorkspaceArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public WorkspaceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder