Class StagingLocation


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class StagingLocation
    extends Object
    location for placing an object when staging it
    • Constructor Detail

      • StagingLocation

        public StagingLocation()
    • Method Detail

      • getPhysicalAddress

        @Nullable
        public String getPhysicalAddress()
        Get physicalAddress
        Returns:
        physicalAddress
      • setPhysicalAddress

        public void setPhysicalAddress​(String physicalAddress)
      • getToken

        @Nonnull
        public String getToken()
        opaque staging token to use to link uploaded object
        Returns:
        token
      • setToken

        public void setToken​(String token)
      • getPresignedUrl

        @Nullable
        public String getPresignedUrl()
        if presign=true is passed in the request, this field will contain a presigned URL to use when uploading
        Returns:
        presignedUrl
      • setPresignedUrl

        public void setPresignedUrl​(String presignedUrl)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to StagingLocation
      • fromJson

        public static StagingLocation fromJson​(String jsonString)
                                        throws IOException
        Create an instance of StagingLocation given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StagingLocation
        Throws:
        IOException - if the JSON string is invalid with respect to StagingLocation
      • toJson

        public String toJson()
        Convert an instance of StagingLocation to an JSON string
        Returns:
        JSON string