Class ProtectionState.Builder

  • Enclosing class:
    ProtectionState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public ProtectionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the Protection.
        Returns:
        builder
      • name

        public ProtectionState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A friendly name for the Protection you are creating.
        Returns:
        builder
      • name

        public ProtectionState.Builder name​(java.lang.String name)
        Parameters:
        name - A friendly name for the Protection you are creating.
        Returns:
        builder
      • resourceArn

        public ProtectionState.Builder resourceArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> resourceArn)
        Parameters:
        resourceArn - ARN of the resource to be protected.
        Returns:
        builder
      • resourceArn

        public ProtectionState.Builder resourceArn​(java.lang.String resourceArn)
        Parameters:
        resourceArn - ARN of the resource to be protected.
        Returns:
        builder
      • tags

        public ProtectionState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. .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 ProtectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. .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 ProtectionState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

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