Package com.datadog.api.client.v2.model
Class ObservabilityPipelineAmazonOpenSearchDestinationAuth
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineAmazonOpenSearchDestinationAuth
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAmazonOpenSearchDestinationAuth
extends Object
Authentication settings for the Amazon OpenSearch destination. The
strategy field
determines whether basic or AWS-based authentication is used.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassumeRole(String assumeRole) booleanReturn true if this ObservabilityPipelineAmazonOpenSearchDestinationAuth object is equal to o.externalId(String externalId) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ARN of the role to assume (used withawsstrategy).AWS regionExternal ID for the assumed role (used withawsstrategy).Session name for the assumed role (used withawsstrategy).The authentication strategy to use.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.sessionName(String sessionName) voidsetAssumeRole(String assumeRole) voidsetAwsRegion(String awsRegion) voidsetExternalId(String externalId) voidsetSessionName(String sessionName) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSUME_ROLE
- See Also:
-
JSON_PROPERTY_AWS_REGION
- See Also:
-
JSON_PROPERTY_EXTERNAL_ID
- See Also:
-
JSON_PROPERTY_SESSION_NAME
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineAmazonOpenSearchDestinationAuth
public ObservabilityPipelineAmazonOpenSearchDestinationAuth() -
ObservabilityPipelineAmazonOpenSearchDestinationAuth
public ObservabilityPipelineAmazonOpenSearchDestinationAuth(ObservabilityPipelineAmazonOpenSearchDestinationAuthStrategy strategy)
-
-
Method Details
-
assumeRole
-
getAssumeRole
The ARN of the role to assume (used withawsstrategy).- Returns:
- assumeRole
-
setAssumeRole
-
awsRegion
-
getAwsRegion
AWS region- Returns:
- awsRegion
-
setAwsRegion
-
externalId
-
getExternalId
External ID for the assumed role (used withawsstrategy).- Returns:
- externalId
-
setExternalId
-
sessionName
-
getSessionName
Session name for the assumed role (used withawsstrategy).- Returns:
- sessionName
-
setSessionName
-
strategy
-
getStrategy
The authentication strategy to use.- Returns:
- strategy
-
setStrategy
-
putAdditionalProperty
public ObservabilityPipelineAmazonOpenSearchDestinationAuth 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:
- ObservabilityPipelineAmazonOpenSearchDestinationAuth
-
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 ObservabilityPipelineAmazonOpenSearchDestinationAuth object is equal to o. -
hashCode
public int hashCode() -
toString
-