Class ReassignResourcesRequest

java.lang.Object
com.cloudera.cdp.dfworkload.model.ReassignResourcesRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.696-07:00") public class ReassignResourcesRequest extends Object
Request object to reassign resources.
  • Constructor Details

    • ReassignResourcesRequest

      public ReassignResourcesRequest()
  • Method Details

    • getEnvironmentCrn

      public String getEnvironmentCrn()
      Getter for environmentCrn. The CRN of an environment to execute the command.
    • setEnvironmentCrn

      public void setEnvironmentCrn(String environmentCrn)
      Setter for environmentCrn. The CRN of an environment to execute the command.
    • getWorkloadResourceSummaries

      public List<RpcWorkloadResourceSummary> getWorkloadResourceSummaries()
      Getter for workloadResourceSummaries. The summaries of the resources being reassigned.
    • setWorkloadResourceSummaries

      public void setWorkloadResourceSummaries(List<RpcWorkloadResourceSummary> workloadResourceSummaries)
      Setter for workloadResourceSummaries. The summaries of the resources being reassigned.
    • getDestinationProjectCrn

      public String getDestinationProjectCrn()
      Getter for destinationProjectCrn. The crn of the project to reassign the resources to, or null to unassign the resources.
    • setDestinationProjectCrn

      public void setDestinationProjectCrn(String destinationProjectCrn)
      Setter for destinationProjectCrn. The crn of the project to reassign the resources to, or null to unassign the resources.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object