Class WorkspacesCreateOrUpdateHeaders

java.lang.Object
com.azure.resourcemanager.apicenter.models.WorkspacesCreateOrUpdateHeaders

public final class WorkspacesCreateOrUpdateHeaders extends Object
The WorkspacesCreateOrUpdateHeaders model.
  • Constructor Details

    • WorkspacesCreateOrUpdateHeaders

      public WorkspacesCreateOrUpdateHeaders(com.azure.core.http.HttpHeaders rawHeaders)
      Creates an instance of WorkspacesCreateOrUpdateHeaders class.
      Parameters:
      rawHeaders - The raw HttpHeaders that will be used to create the property values.
  • Method Details

    • etag

      public String etag()
      Get the etag property: The Etag property.
      Returns:
      the etag value.
    • withEtag

      public WorkspacesCreateOrUpdateHeaders withEtag(String etag)
      Set the etag property: The Etag property.
      Parameters:
      etag - the etag value to set.
      Returns:
      the WorkspacesCreateOrUpdateHeaders object itself.
    • validate

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