Class ModifyIdFormatRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ModifyIdFormatRequest
All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<ModifyIdFormatRequest>, Serializable, Cloneable

public class ModifyIdFormatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyIdFormatRequest>

Contains the parameters of ModifyIdFormat.

See Also:
  • Constructor Details

    • ModifyIdFormatRequest

      public ModifyIdFormatRequest()
  • Method Details

    • setResource

      public void setResource(String resource)

      The type of resource.

      Parameters:
      resource - The type of resource.
    • getResource

      public String getResource()

      The type of resource.

      Returns:
      The type of resource.
    • withResource

      public ModifyIdFormatRequest withResource(String resource)

      The type of resource.

      Parameters:
      resource - The type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUseLongIds

      public void setUseLongIds(Boolean useLongIds)

      Indicate whether the resource should use longer IDs (17-character IDs).

      Parameters:
      useLongIds - Indicate whether the resource should use longer IDs (17-character IDs).
    • getUseLongIds

      public Boolean getUseLongIds()

      Indicate whether the resource should use longer IDs (17-character IDs).

      Returns:
      Indicate whether the resource should use longer IDs (17-character IDs).
    • withUseLongIds

      public ModifyIdFormatRequest withUseLongIds(Boolean useLongIds)

      Indicate whether the resource should use longer IDs (17-character IDs).

      Parameters:
      useLongIds - Indicate whether the resource should use longer IDs (17-character IDs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isUseLongIds

      public Boolean isUseLongIds()

      Indicate whether the resource should use longer IDs (17-character IDs).

      Returns:
      Indicate whether the resource should use longer IDs (17-character IDs).
    • getDryRunRequest

      public Request<ModifyIdFormatRequest> getDryRunRequest()
      This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.
      Specified by:
      getDryRunRequest in interface DryRunSupportedRequest<ModifyIdFormatRequest>
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

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

      public ModifyIdFormatRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: