Class PolicyState.Builder

  • Enclosing class:
    PolicyState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public PolicyState.Builder arn​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN assigned by AWS to this policy.
        Returns:
        builder
      • arn

        public PolicyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN assigned by AWS to this policy.
        Returns:
        builder
      • defaultVersionId

        public PolicyState.Builder defaultVersionId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> defaultVersionId)
        Parameters:
        defaultVersionId - The default version of this policy.
        Returns:
        builder
      • defaultVersionId

        public PolicyState.Builder defaultVersionId​(java.lang.String defaultVersionId)
        Parameters:
        defaultVersionId - The default version of this policy.
        Returns:
        builder
      • name

        public PolicyState.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the policy.
        Returns:
        builder
      • name

        public PolicyState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the policy.
        Returns:
        builder
      • policy

        public PolicyState.Builder policy​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - The policy document. This is a JSON formatted string. Use the [IoT Developer Guide](http://docs.aws.amazon.com/iot/latest/developerguide/iot-policies.html) for more information on IoT Policies.
        Returns:
        builder
      • policy

        public PolicyState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - The policy document. This is a JSON formatted string. Use the [IoT Developer Guide](http://docs.aws.amazon.com/iot/latest/developerguide/iot-policies.html) for more information on IoT Policies.
        Returns:
        builder
      • tags

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

        public PolicyState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        @Deprecated
        public PolicyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder