Package com.datadog.api.client.v2.model
Class CustomDestinationElasticsearchDestinationAuth
java.lang.Object
com.datadog.api.client.v2.model.CustomDestinationElasticsearchDestinationAuth
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomDestinationElasticsearchDestinationAuth
extends Object
Basic access authentication.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomDestinationElasticsearchDestinationAuth(String password, String username) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CustomDestinationElasticsearchDestinationAuth object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The password of the authentication.The username of the authentication.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPassword(String password) voidsetUsername(String username) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
-
Constructor Details
-
CustomDestinationElasticsearchDestinationAuth
public CustomDestinationElasticsearchDestinationAuth() -
CustomDestinationElasticsearchDestinationAuth
-
-
Method Details
-
password
-
getPassword
The password of the authentication. This field is not returned by the API.- Returns:
- password
-
setPassword
-
username
-
getUsername
The username of the authentication. This field is not returned by the API.- Returns:
- username
-
setUsername
-
putAdditionalProperty
public CustomDestinationElasticsearchDestinationAuth 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 setvalue- The associated value- Returns:
- CustomDestinationElasticsearchDestinationAuth
-
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 CustomDestinationElasticsearchDestinationAuth object is equal to o. -
hashCode
public int hashCode() -
toString
-