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

org.jclouds.azurecompute.arm.compute.domain.AutoValue_ResourceGroupAndNameAndIngressRules Maven / Gradle / Ivy

The newest version!

package org.jclouds.azurecompute.arm.compute.domain;

import java.util.Arrays;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_ResourceGroupAndNameAndIngressRules extends ResourceGroupAndNameAndIngressRules {

  private final ResourceGroupAndName resourceGroupAndName;
  private final String location;
  private final int[] inboundPorts;

  AutoValue_ResourceGroupAndNameAndIngressRules(
      ResourceGroupAndName resourceGroupAndName,
      String location,
      int[] inboundPorts) {
    if (resourceGroupAndName == null) {
      throw new NullPointerException("Null resourceGroupAndName");
    }
    this.resourceGroupAndName = resourceGroupAndName;
    if (location == null) {
      throw new NullPointerException("Null location");
    }
    this.location = location;
    if (inboundPorts == null) {
      throw new NullPointerException("Null inboundPorts");
    }
    this.inboundPorts = inboundPorts;
  }

  @Override
  ResourceGroupAndName resourceGroupAndName() {
    return resourceGroupAndName;
  }

  @Override
  public String location() {
    return location;
  }

  @SuppressWarnings(value = {"mutable"})
  @Override
  public int[] inboundPorts() {
    return inboundPorts;
  }

  @Override
  public String toString() {
    return "ResourceGroupAndNameAndIngressRules{"
        + "resourceGroupAndName=" + resourceGroupAndName + ", "
        + "location=" + location + ", "
        + "inboundPorts=" + Arrays.toString(inboundPorts)
        + "}";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy