JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apigatewayv2.model

Class CreateModelRequest

    • Constructor Detail

      • CreateModelRequest

        public CreateModelRequest()
    • Method Detail

      • setApiId

        public void setApiId(String apiId)

        The API identifier.

        Parameters:
        apiId - The API identifier.
      • getApiId

        public String getApiId()

        The API identifier.

        Returns:
        The API identifier.
      • withApiId

        public CreateModelRequest withApiId(String apiId)

        The API identifier.

        Parameters:
        apiId - The API identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setContentType

        public void setContentType(String contentType)

        The content-type for the model, for example, "application/json".

        Parameters:
        contentType - The content-type for the model, for example, "application/json".
      • getContentType

        public String getContentType()

        The content-type for the model, for example, "application/json".

        Returns:
        The content-type for the model, for example, "application/json".
      • withContentType

        public CreateModelRequest withContentType(String contentType)

        The content-type for the model, for example, "application/json".

        Parameters:
        contentType - The content-type for the model, for example, "application/json".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        The description of the model.

        Parameters:
        description - The description of the model.
      • getDescription

        public String getDescription()

        The description of the model.

        Returns:
        The description of the model.
      • withDescription

        public CreateModelRequest withDescription(String description)

        The description of the model.

        Parameters:
        description - The description of the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        The name of the model. Must be alphanumeric.

        Parameters:
        name - The name of the model. Must be alphanumeric.
      • getName

        public String getName()

        The name of the model. Must be alphanumeric.

        Returns:
        The name of the model. Must be alphanumeric.
      • withName

        public CreateModelRequest withName(String name)

        The name of the model. Must be alphanumeric.

        Parameters:
        name - The name of the model. Must be alphanumeric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSchema

        public void setSchema(String schema)

        The schema for the model. For application/json models, this should be JSON schema draft 4 model.

        Parameters:
        schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.
      • getSchema

        public String getSchema()

        The schema for the model. For application/json models, this should be JSON schema draft 4 model.

        Returns:
        The schema for the model. For application/json models, this should be JSON schema draft 4 model.
      • withSchema

        public CreateModelRequest withSchema(String schema)

        The schema for the model. For application/json models, this should be JSON schema draft 4 model.

        Parameters:
        schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /