Class WorkspaceState.Builder

  • Enclosing class:
    WorkspaceState

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

      • Builder

        public Builder()
    • Method Detail

      • alias

        public WorkspaceState.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 WorkspaceState.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
      • arn

        public WorkspaceState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the workspace.
        Returns:
        builder
      • arn

        public WorkspaceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the workspace.
        Returns:
        builder
      • kmsKeyArn

        public WorkspaceState.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 WorkspaceState.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 WorkspaceState.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 WorkspaceState.Builder loggingConfiguration​(WorkspaceLoggingConfigurationArgs loggingConfiguration)
        Parameters:
        loggingConfiguration - Logging configuration for the workspace. See `loggingConfiguration` Block below for details.
        Returns:
        builder
      • prometheusEndpoint

        public WorkspaceState.Builder prometheusEndpoint​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> prometheusEndpoint)
        Parameters:
        prometheusEndpoint - Prometheus endpoint available for this workspace.
        Returns:
        builder
      • prometheusEndpoint

        public WorkspaceState.Builder prometheusEndpoint​(java.lang.String prometheusEndpoint)
        Parameters:
        prometheusEndpoint - Prometheus endpoint available for this workspace.
        Returns:
        builder
      • region

        public WorkspaceState.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 WorkspaceState.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 WorkspaceState.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 WorkspaceState.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
      • tagsAll

        public WorkspaceState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public WorkspaceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder