@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class InterfaceAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALIAS |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_INDEX |
static String |
JSON_PROPERTY_MAC_ADDRESS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_STATUS |
boolean |
unparsed |
| Constructor and Description |
|---|
InterfaceAttributes() |
| Modifier and Type | Method and Description |
|---|---|
InterfaceAttributes |
alias(String alias) |
InterfaceAttributes |
description(String description) |
boolean |
equals(Object o)
Return true if this InterfaceAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAlias()
The interface alias
|
String |
getDescription()
The interface description
|
Long |
getIndex()
The interface index
|
String |
getMacAddress()
The interface MAC address
|
String |
getName()
The interface name
|
InterfaceAttributesStatus |
getStatus()
The interface status
|
int |
hashCode() |
InterfaceAttributes |
index(Long index) |
InterfaceAttributes |
macAddress(String macAddress) |
InterfaceAttributes |
name(String name) |
InterfaceAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAlias(String alias) |
void |
setDescription(String description) |
void |
setIndex(Long index) |
void |
setMacAddress(String macAddress) |
void |
setName(String name) |
void |
setStatus(InterfaceAttributesStatus status) |
InterfaceAttributes |
status(InterfaceAttributesStatus status) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ALIAS
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_INDEX
public static final String JSON_PROPERTY_MAC_ADDRESS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_STATUS
public InterfaceAttributes alias(String alias)
@Nullable public String getAlias()
public void setAlias(String alias)
public InterfaceAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public InterfaceAttributes index(Long index)
@Nullable public Long getIndex()
public void setIndex(Long index)
public InterfaceAttributes macAddress(String macAddress)
@Nullable public String getMacAddress()
public void setMacAddress(String macAddress)
public InterfaceAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public InterfaceAttributes status(InterfaceAttributesStatus status)
@Nullable public InterfaceAttributesStatus getStatus()
public void setStatus(InterfaceAttributesStatus status)
public InterfaceAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.