Package com.datadog.api.client.v2.model
Class HamrOrgConnectionAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.HamrOrgConnectionAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HamrOrgConnectionAttributesResponse
extends Object
Attributes of a HAMR organization connection response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHamrOrgConnectionAttributesResponse(HamrOrgConnectionStatus hamrStatus, Boolean isPrimary, String modifiedAt, String modifiedBy, String targetOrgDatacenter, String targetOrgName, String targetOrgUuid) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this HamrOrgConnectionAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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 progressIndicates whether this organization is the primary organization in the HAMR relationship.Timestamp of when this HAMR connection was last modified (RFC3339 format).Username or identifier of the user who last modified this HAMR connection.Datacenter location of the target organization (e.g., us1, eu1, us5).Name of the target organization in the HAMR relationship.UUID of the target organization in the HAMR relationship.hamrStatus(HamrOrgConnectionStatus hamrStatus) inthashCode()modifiedAt(String modifiedAt) modifiedBy(String modifiedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHamrStatus(HamrOrgConnectionStatus hamrStatus) voidsetIsPrimary(Boolean isPrimary) voidsetModifiedAt(String modifiedAt) voidsetModifiedBy(String modifiedBy) voidsetTargetOrgDatacenter(String targetOrgDatacenter) voidsetTargetOrgName(String targetOrgName) voidsetTargetOrgUuid(String targetOrgUuid) targetOrgDatacenter(String targetOrgDatacenter) targetOrgName(String targetOrgName) targetOrgUuid(String targetOrgUuid) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HAMR_STATUS
- See Also:
-
JSON_PROPERTY_IS_PRIMARY
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_BY
- See Also:
-
JSON_PROPERTY_TARGET_ORG_DATACENTER
- See Also:
-
JSON_PROPERTY_TARGET_ORG_NAME
- See Also:
-
JSON_PROPERTY_TARGET_ORG_UUID
- See Also:
-
-
Constructor Details
-
HamrOrgConnectionAttributesResponse
public HamrOrgConnectionAttributesResponse() -
HamrOrgConnectionAttributesResponse
-
-
Method Details
-
hamrStatus
-
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
-
isPrimary
-
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
-
modifiedAt
-
getModifiedAt
Timestamp of when this HAMR connection was last modified (RFC3339 format).- Returns:
- modifiedAt
-
setModifiedAt
-
modifiedBy
-
getModifiedBy
Username or identifier of the user who last modified this HAMR connection.- Returns:
- modifiedBy
-
setModifiedBy
-
targetOrgDatacenter
-
getTargetOrgDatacenter
Datacenter location of the target organization (e.g., us1, eu1, us5).- Returns:
- targetOrgDatacenter
-
setTargetOrgDatacenter
-
targetOrgName
-
getTargetOrgName
Name of the target organization in the HAMR relationship.- Returns:
- targetOrgName
-
setTargetOrgName
-
targetOrgUuid
-
getTargetOrgUuid
UUID of the target organization in the HAMR relationship.- Returns:
- targetOrgUuid
-
setTargetOrgUuid
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- HamrOrgConnectionAttributesResponse
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this HamrOrgConnectionAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-