Class PolicyArgs.Builder

  • Enclosing class:
    PolicyArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PolicyArgs defaults)
    • Method Detail

      • name

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

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

        public PolicyArgs.Builder policy​(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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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