Class InstanceMaintenancePolicyArgs.Builder

    • Method Detail

      • createTime

        public InstanceMaintenancePolicyArgs.Builder createTime​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - (Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • createTime

        public InstanceMaintenancePolicyArgs.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - (Output) Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • description

        public InstanceMaintenancePolicyArgs.Builder description​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
        Returns:
        builder
      • description

        public InstanceMaintenancePolicyArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
        Returns:
        builder
      • updateTime

        public InstanceMaintenancePolicyArgs.Builder updateTime​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - (Output) Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • updateTime

        public InstanceMaintenancePolicyArgs.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - (Output) Output only. The time when the policy was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
        Returns:
        builder
      • weeklyMaintenanceWindows

        public InstanceMaintenancePolicyArgs.Builder weeklyMaintenanceWindows​(@Nullable
                                                                              com.pulumi.core.Output<java.util.List<InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs>> weeklyMaintenanceWindows)
        Parameters:
        weeklyMaintenanceWindows - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one. Structure is documented below.
        Returns:
        builder
      • weeklyMaintenanceWindows

        public InstanceMaintenancePolicyArgs.Builder weeklyMaintenanceWindows​(java.util.List<InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs> weeklyMaintenanceWindows)
        Parameters:
        weeklyMaintenanceWindows - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one. Structure is documented below.
        Returns:
        builder
      • weeklyMaintenanceWindows

        public InstanceMaintenancePolicyArgs.Builder weeklyMaintenanceWindows​(InstanceMaintenancePolicyWeeklyMaintenanceWindowArgs... weeklyMaintenanceWindows)
        Parameters:
        weeklyMaintenanceWindows - Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one. Structure is documented below.
        Returns:
        builder