@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomDestinationResponseForwardDestinationElasticsearch extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTH |
static String |
JSON_PROPERTY_ENDPOINT |
static String |
JSON_PROPERTY_INDEX_NAME |
static String |
JSON_PROPERTY_INDEX_ROTATION |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomDestinationResponseForwardDestinationElasticsearch() |
CustomDestinationResponseForwardDestinationElasticsearch(Map<String,Object> auth,
String endpoint,
String indexName,
CustomDestinationResponseForwardDestinationElasticsearchType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AUTH
public static final String JSON_PROPERTY_ENDPOINT
public static final String JSON_PROPERTY_INDEX_NAME
public static final String JSON_PROPERTY_INDEX_ROTATION
public static final String JSON_PROPERTY_TYPE
public CustomDestinationResponseForwardDestinationElasticsearch()
public CustomDestinationResponseForwardDestinationElasticsearch auth(Map<String,Object> auth)
public CustomDestinationResponseForwardDestinationElasticsearch putAuthItem(String key, Object authItem)
public CustomDestinationResponseForwardDestinationElasticsearch endpoint(String endpoint)
public String getEndpoint()
public void setEndpoint(String endpoint)
public CustomDestinationResponseForwardDestinationElasticsearch indexName(String indexName)
public String getIndexName()
public void setIndexName(String indexName)
public CustomDestinationResponseForwardDestinationElasticsearch indexRotation(String indexRotation)
@Nullable public String getIndexRotation()
- (that is, ${index_name}-${indexPattern}). You can customize the
index rotation naming pattern by choosing one of these options: - Hourly: yyyy-MM-dd-HH
(as an example, it would render: 2022-10-19-09) - Daily: yyyy-MM-dd
(as an example, it would render: 2022-10-19) - Weekly: yyyy-'W'ww
(as an example, it would render: 2022-W42) - Monthly: yyyy-MM
(as an example, it would render: 2022-10)
If this field is missing or is blank, it means that the index name will always be the same (that is, no rotation).
public void setIndexRotation(String indexRotation)
public CustomDestinationResponseForwardDestinationElasticsearch type(CustomDestinationResponseForwardDestinationElasticsearchType type)
public CustomDestinationResponseForwardDestinationElasticsearchType getType()
public void setType(CustomDestinationResponseForwardDestinationElasticsearchType type)
public CustomDestinationResponseForwardDestinationElasticsearch 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.