Package com.datadog.api.client.v2.model
Class UpdateEnvironmentAttributes
java.lang.Object
com.datadog.api.client.v2.model.UpdateEnvironmentAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateEnvironmentAttributes
extends Object
Attributes for updating an environment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddQueriesItem(String queriesItem) booleanReturn true if this UpdateEnvironmentAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Indicates whether this is a production environment.getName()The name of the environment.List of queries to define the environment scope.Indicates whether feature flag changes require approval in this environment.inthashCode()isProduction(Boolean isProduction) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requireFeatureFlagApproval(Boolean requireFeatureFlagApproval) voidsetIsProduction(Boolean isProduction) voidvoidsetQueries(List<String> queries) voidsetRequireFeatureFlagApproval(Boolean requireFeatureFlagApproval) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_PRODUCTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_REQUIRE_FEATURE_FLAG_APPROVAL
- See Also:
-
-
Constructor Details
-
UpdateEnvironmentAttributes
public UpdateEnvironmentAttributes()
-
-
Method Details
-
isProduction
-
getIsProduction
Indicates whether this is a production environment.- Returns:
- isProduction
-
setIsProduction
-
name
-
getName
The name of the environment.- Returns:
- name
-
setName
-
queries
-
addQueriesItem
-
getQueries
List of queries to define the environment scope.- Returns:
- queries
-
setQueries
-
requireFeatureFlagApproval
-
getRequireFeatureFlagApproval
Indicates whether feature flag changes require approval in this environment.- Returns:
- requireFeatureFlagApproval
-
setRequireFeatureFlagApproval
-
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:
- UpdateEnvironmentAttributes
-
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 UpdateEnvironmentAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-