Class MalwareProtectionPlanArgs.Builder

  • Enclosing class:
    MalwareProtectionPlanArgs

    public static final class MalwareProtectionPlanArgs.Builder
    extends java.lang.Object
    • Method Detail

      • protectedResource

        public MalwareProtectionPlanArgs.Builder protectedResource​(com.pulumi.core.Output<MalwareProtectionPlanProtectedResourceArgs> protectedResource)
        Parameters:
        protectedResource - Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.
        Returns:
        builder
      • protectedResource

        public MalwareProtectionPlanArgs.Builder protectedResource​(MalwareProtectionPlanProtectedResourceArgs protectedResource)
        Parameters:
        protectedResource - Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.
        Returns:
        builder
      • region

        public MalwareProtectionPlanArgs.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 MalwareProtectionPlanArgs.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
      • role

        public MalwareProtectionPlanArgs.Builder role​(com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.
        Returns:
        builder
      • role

        public MalwareProtectionPlanArgs.Builder role​(java.lang.String role)
        Parameters:
        role - ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.
        Returns:
        builder
      • tags

        public MalwareProtectionPlanArgs.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public MalwareProtectionPlanArgs.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder