Class RecommendationActionProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.RecommendationActionProperties

public final class RecommendationActionProperties extends Object
The properties of a recommendation action.
  • Constructor Details

    • RecommendationActionProperties

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

    • advisorName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public RecommendationActionProperties withDetails(Map<String,String> details)
      Set the details property: Recommendation action details.
      Parameters:
      details - the details value to set.
      Returns:
      the RecommendationActionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.