Class RecommendationActionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mariadb.fluent.models.RecommendationActionInner
public final class RecommendationActionInner
extends com.azure.core.management.ProxyResource
Represents a Recommendation Action.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecommendationActionInner class. -
Method Summary
Modifier and TypeMethodDescriptionactionId()
Get the actionId property: Recommendation action identifier.Get the advisorName property: Advisor name.Get the createdTime property: Recommendation action creation time.details()
Get the details property: Recommendation action details.Get the expirationTime property: Recommendation action expiration time.reason()
Get the reason property: Recommendation action reason.Get the recommendationType property: Recommendation action type.Get the sessionId property: Recommendation action session identifier.void
validate()
Validates the instance.withActionId
(Integer actionId) Set the actionId property: Recommendation action identifier.withAdvisorName
(String advisorName) Set the advisorName property: Advisor name.withCreatedTime
(OffsetDateTime createdTime) Set the createdTime property: Recommendation action creation time.withDetails
(Map<String, String> details) Set the details property: Recommendation action details.withExpirationTime
(OffsetDateTime expirationTime) Set the expirationTime property: Recommendation action expiration time.withReason
(String reason) Set the reason property: Recommendation action reason.withRecommendationType
(String recommendationType) Set the recommendationType property: Recommendation action type.withSessionId
(String sessionId) Set the sessionId property: Recommendation action session identifier.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RecommendationActionInner
public RecommendationActionInner()Creates an instance of RecommendationActionInner class.
-
-
Method Details
-
advisorName
Get the advisorName property: Advisor name.- Returns:
- the advisorName value.
-
withAdvisorName
Set the advisorName property: Advisor name.- Parameters:
advisorName
- the advisorName value to set.- Returns:
- the RecommendationActionInner object itself.
-
sessionId
Get the sessionId property: Recommendation action session identifier.- Returns:
- the sessionId value.
-
withSessionId
Set the sessionId property: Recommendation action session identifier.- Parameters:
sessionId
- the sessionId value to set.- Returns:
- the RecommendationActionInner object itself.
-
actionId
Get the actionId property: Recommendation action identifier.- Returns:
- the actionId value.
-
withActionId
Set the actionId property: Recommendation action identifier.- Parameters:
actionId
- the actionId value to set.- Returns:
- the RecommendationActionInner object itself.
-
createdTime
Get the createdTime property: Recommendation action creation time.- Returns:
- the createdTime value.
-
withCreatedTime
Set the createdTime property: Recommendation action creation time.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the RecommendationActionInner object itself.
-
expirationTime
Get the expirationTime property: Recommendation action expiration time.- Returns:
- the expirationTime value.
-
withExpirationTime
Set the expirationTime property: Recommendation action expiration time.- Parameters:
expirationTime
- the expirationTime value to set.- Returns:
- the RecommendationActionInner object itself.
-
reason
Get the reason property: Recommendation action reason.- Returns:
- the reason value.
-
withReason
Set the reason property: Recommendation action reason.- Parameters:
reason
- the reason value to set.- Returns:
- the RecommendationActionInner object itself.
-
recommendationType
Get the recommendationType property: Recommendation action type.- Returns:
- the recommendationType value.
-
withRecommendationType
Set the recommendationType property: Recommendation action type.- Parameters:
recommendationType
- the recommendationType value to set.- Returns:
- the RecommendationActionInner object itself.
-
details
Get the details property: Recommendation action details.- Returns:
- the details value.
-
withDetails
Set the details property: Recommendation action details.- Parameters:
details
- the details value to set.- Returns:
- the RecommendationActionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-