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 Details

    • RecommendationActionInner

      public RecommendationActionInner()
      Creates an instance of RecommendationActionInner class.
  • Method Details

    • advisorName

      public String advisorName()
      Get the advisorName property: Advisor name.
      Returns:
      the advisorName value.
    • withAdvisorName

      public RecommendationActionInner withAdvisorName(String advisorName)
      Set the advisorName property: Advisor name.
      Parameters:
      advisorName - the advisorName value to set.
      Returns:
      the RecommendationActionInner object itself.
    • sessionId

      public String sessionId()
      Get the sessionId property: Recommendation action session identifier.
      Returns:
      the sessionId value.
    • withSessionId

      public RecommendationActionInner withSessionId(String sessionId)
      Set the sessionId property: Recommendation action session identifier.
      Parameters:
      sessionId - the sessionId value to set.
      Returns:
      the RecommendationActionInner object itself.
    • actionId

      public Integer actionId()
      Get the actionId property: Recommendation action identifier.
      Returns:
      the actionId value.
    • withActionId

      public RecommendationActionInner withActionId(Integer actionId)
      Set the actionId property: Recommendation action identifier.
      Parameters:
      actionId - the actionId value to set.
      Returns:
      the RecommendationActionInner object itself.
    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: Recommendation action creation time.
      Returns:
      the createdTime value.
    • withCreatedTime

      public RecommendationActionInner withCreatedTime(OffsetDateTime createdTime)
      Set the createdTime property: Recommendation action creation time.
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the RecommendationActionInner object itself.
    • expirationTime

      public OffsetDateTime expirationTime()
      Get the expirationTime property: Recommendation action expiration time.
      Returns:
      the expirationTime value.
    • withExpirationTime

      public RecommendationActionInner withExpirationTime(OffsetDateTime expirationTime)
      Set the expirationTime property: Recommendation action expiration time.
      Parameters:
      expirationTime - the expirationTime value to set.
      Returns:
      the RecommendationActionInner object itself.
    • reason

      public String reason()
      Get the reason property: Recommendation action reason.
      Returns:
      the reason value.
    • withReason

      public RecommendationActionInner withReason(String reason)
      Set the reason property: Recommendation action reason.
      Parameters:
      reason - the reason value to set.
      Returns:
      the RecommendationActionInner object itself.
    • recommendationType

      public String recommendationType()
      Get the recommendationType property: Recommendation action type.
      Returns:
      the recommendationType value.
    • withRecommendationType

      public RecommendationActionInner withRecommendationType(String recommendationType)
      Set the recommendationType property: Recommendation action type.
      Parameters:
      recommendationType - the recommendationType value to set.
      Returns:
      the RecommendationActionInner object itself.
    • details

      public Map<String,String> details()
      Get the details property: Recommendation action details.
      Returns:
      the details value.
    • withDetails

      public RecommendationActionInner withDetails(Map<String,String> details)
      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.