Interface UpdateSnapmirrorRelationshipRequest.Builder

  • Method Details

    • clientRequestToken

      UpdateSnapmirrorRelationshipRequest.Builder clientRequestToken(String clientRequestToken)
      Sets the value of the ClientRequestToken property for this object.
      Parameters:
      clientRequestToken - The new value for the ClientRequestToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapmirrorRelationshipId

      UpdateSnapmirrorRelationshipRequest.Builder snapmirrorRelationshipId(String snapmirrorRelationshipId)

      The ID of the SnapMirror relationship that you want to update.

      Parameters:
      snapmirrorRelationshipId - The ID of the SnapMirror relationship that you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyId

      Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.

      Parameters:
      policyId - Specifies the ID of the SnapMirror policy that the SnapMirror relationship uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transferSchedule

      UpdateSnapmirrorRelationshipRequest.Builder transferSchedule(String transferSchedule)

      Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.

      Parameters:
      transferSchedule - Specifies the name of the ONTAP schedule that determines when SnapMirror transfers data for the relationship. This schedule overrides the transfer schedule of the SnapMirror policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttleInKbps

      UpdateSnapmirrorRelationshipRequest.Builder throttleInKbps(Long throttleInKbps)

      Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data for the relationship. A value of 0 means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.

      Parameters:
      throttleInKbps - Specifies the maximum bandwidth, in kilobytes per second (KBps), that SnapMirror uses to transfer data for the relationship. A value of 0 means that the bandwidth is unlimited. This value overrides the throttle of the SnapMirror policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Specifies the state to set for the SnapMirror relationship:

      • SNAPMIRRORED – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.

      • PAUSED – Pauses SnapMirror transfers for the relationship.

      • BROKEN_OFF – Breaks off the SnapMirror relationship, which makes the destination volume writable.

      Setting State to SNAPMIRRORED on a relationship that is BROKEN_OFF might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.

      Parameters:
      state - Specifies the state to set for the SnapMirror relationship:

      • SNAPMIRRORED – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.

      • PAUSED – Pauses SnapMirror transfers for the relationship.

      • BROKEN_OFF – Breaks off the SnapMirror relationship, which makes the destination volume writable.

      Setting State to SNAPMIRRORED on a relationship that is BROKEN_OFF might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Specifies the state to set for the SnapMirror relationship:

      • SNAPMIRRORED – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.

      • PAUSED – Pauses SnapMirror transfers for the relationship.

      • BROKEN_OFF – Breaks off the SnapMirror relationship, which makes the destination volume writable.

      Setting State to SNAPMIRRORED on a relationship that is BROKEN_OFF might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.

      Parameters:
      state - Specifies the state to set for the SnapMirror relationship:

      • SNAPMIRRORED – Resumes a paused SnapMirror relationship, or resynchronizes a broken-off SnapMirror relationship.

      • PAUSED – Pauses SnapMirror transfers for the relationship.

      • BROKEN_OFF – Breaks off the SnapMirror relationship, which makes the destination volume writable.

      Setting State to SNAPMIRRORED on a relationship that is BROKEN_OFF might resynchronize the relationship. A resync overwrites the destination volume with data from the source volume, and discards any data written to the destination volume that isn't present on the source volume. Use caution when you resynchronize a relationship.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.