All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.compute.RemoveInstanceProfile Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.compute;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

@Generated
public class RemoveInstanceProfile {
  /** The ARN of the instance profile to remove. This field is required. */
  @JsonProperty("instance_profile_arn")
  private String instanceProfileArn;

  public RemoveInstanceProfile setInstanceProfileArn(String instanceProfileArn) {
    this.instanceProfileArn = instanceProfileArn;
    return this;
  }

  public String getInstanceProfileArn() {
    return instanceProfileArn;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    RemoveInstanceProfile that = (RemoveInstanceProfile) o;
    return Objects.equals(instanceProfileArn, that.instanceProfileArn);
  }

  @Override
  public int hashCode() {
    return Objects.hash(instanceProfileArn);
  }

  @Override
  public String toString() {
    return new ToStringer(RemoveInstanceProfile.class)
        .add("instanceProfileArn", instanceProfileArn)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy