Class HamrOrgConnectionAttributesRequest

java.lang.Object
com.datadog.api.client.v2.model.HamrOrgConnectionAttributesRequest

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HamrOrgConnectionAttributesRequest extends Object
Attributes for a HAMR organization connection request.
  • Field Details

  • Constructor Details

    • HamrOrgConnectionAttributesRequest

      public HamrOrgConnectionAttributesRequest()
    • HamrOrgConnectionAttributesRequest

      public HamrOrgConnectionAttributesRequest(HamrOrgConnectionStatus hamrStatus, Boolean isPrimary, String modifiedBy, String targetOrgDatacenter, String targetOrgName, String targetOrgUuid)
  • Method Details

    • hamrStatus

    • getHamrStatus

      public HamrOrgConnectionStatus getHamrStatus()
      Status of the HAMR connection: - 0: UNSPECIFIED - Connection status not specified - 1: ONBOARDING - Initial setup of HAMR connection - 2: PASSIVE - Secondary organization in passive standby mode - 3: FAILOVER - Liminal status between PASSIVE and ACTIVE - 4: ACTIVE - Organization is an active failover - 5: RECOVERY - Recovery operation in progress
      Returns:
      hamrStatus
    • setHamrStatus

      public void setHamrStatus(HamrOrgConnectionStatus hamrStatus)
    • isPrimary

      public HamrOrgConnectionAttributesRequest isPrimary(Boolean isPrimary)
    • getIsPrimary

      public Boolean getIsPrimary()
      Indicates whether this organization is the primary organization in the HAMR relationship. If true, this is the primary organization. If false, this is the secondary/backup organization.
      Returns:
      isPrimary
    • setIsPrimary

      public void setIsPrimary(Boolean isPrimary)
    • modifiedBy

      public HamrOrgConnectionAttributesRequest modifiedBy(String modifiedBy)
    • getModifiedBy

      public String getModifiedBy()
      Username or identifier of the user who last modified this HAMR connection.
      Returns:
      modifiedBy
    • setModifiedBy

      public void setModifiedBy(String modifiedBy)
    • targetOrgDatacenter

      public HamrOrgConnectionAttributesRequest targetOrgDatacenter(String targetOrgDatacenter)
    • getTargetOrgDatacenter

      public String getTargetOrgDatacenter()
      Datacenter location of the target organization (e.g., us1, eu1, us5).
      Returns:
      targetOrgDatacenter
    • setTargetOrgDatacenter

      public void setTargetOrgDatacenter(String targetOrgDatacenter)
    • targetOrgName

      public HamrOrgConnectionAttributesRequest targetOrgName(String targetOrgName)
    • getTargetOrgName

      public String getTargetOrgName()
      Name of the target organization in the HAMR relationship.
      Returns:
      targetOrgName
    • setTargetOrgName

      public void setTargetOrgName(String targetOrgName)
    • targetOrgUuid

      public HamrOrgConnectionAttributesRequest targetOrgUuid(String targetOrgUuid)
    • getTargetOrgUuid

      public String getTargetOrgUuid()
      UUID of the target organization in the HAMR relationship.
      Returns:
      targetOrgUuid
    • setTargetOrgUuid

      public void setTargetOrgUuid(String targetOrgUuid)
    • putAdditionalProperty

      public HamrOrgConnectionAttributesRequest putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      HamrOrgConnectionAttributesRequest
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this HamrOrgConnectionAttributesRequest object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object