Class DiskState.Builder

  • Enclosing class:
    DiskState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(DiskState defaults)
    • Method Detail

      • arn

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

        public DiskState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the disk.
        Returns:
        builder
      • availabilityZone

        public DiskState.Builder availabilityZone​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which to create the disk.
        Returns:
        builder
      • availabilityZone

        public DiskState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which to create the disk.
        Returns:
        builder
      • createdAt

        public DiskState.Builder createdAt​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Date and time when the disk was created.
        Returns:
        builder
      • createdAt

        public DiskState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Date and time when the disk was created.
        Returns:
        builder
      • name

        public DiskState.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the disk. Must begin with an alphabetic character and contain only alphanumeric characters, underscores, hyphens, and dots.
        Returns:
        builder
      • name

        public DiskState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the disk. Must begin with an alphabetic character and contain only alphanumeric characters, underscores, hyphens, and dots.
        Returns:
        builder
      • region

        public DiskState.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 DiskState.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
      • sizeInGb

        public DiskState.Builder sizeInGb​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> sizeInGb)
        Parameters:
        sizeInGb - Size of the disk in GB. The following arguments are optional:
        Returns:
        builder
      • sizeInGb

        public DiskState.Builder sizeInGb​(java.lang.Integer sizeInGb)
        Parameters:
        sizeInGb - Size of the disk in GB. The following arguments are optional:
        Returns:
        builder
      • supportCode

        public DiskState.Builder supportCode​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> supportCode)
        Parameters:
        supportCode - Support code for the disk. Include this code in your email to support when you have questions about a disk in Lightsail.
        Returns:
        builder
      • supportCode

        public DiskState.Builder supportCode​(java.lang.String supportCode)
        Parameters:
        supportCode - Support code for the disk. Include this code in your email to support when you have questions about a disk in Lightsail.
        Returns:
        builder
      • tags

        public DiskState.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. To create a key-only tag, use an empty string as the value. 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 DiskState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. 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 DiskState.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 DiskState.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