Interface DocumentationPartLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentationPartLocation.Builder,DocumentationPartLocation>,SdkBuilder<DocumentationPartLocation.Builder,DocumentationPartLocation>,SdkPojo
- Enclosing class:
- DocumentationPartLocation
public static interface DocumentationPartLocation.Builder extends SdkPojo, CopyableBuilder<DocumentationPartLocation.Builder,DocumentationPartLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentationPartLocation.Buildermethod(String method)The HTTP verb of a method.DocumentationPartLocation.Buildername(String name)The name of the targeted API entity.DocumentationPartLocation.Builderpath(String path)The URL path of the target.DocumentationPartLocation.BuilderstatusCode(String statusCodeValue)The HTTP status code of a response.DocumentationPartLocation.Buildertype(String type)The type of API entity to which the documentation content applies.DocumentationPartLocation.Buildertype(DocumentationPartType type)The type of API entity to which the documentation content applies.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
DocumentationPartLocation.Builder type(String type)
The type of API entity to which the documentation content applies. Valid values are
API,AUTHORIZER,MODEL,RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. Content inheritance does not apply to any entity of theAPI,AUTHORIZER,METHOD,MODEL,REQUEST_BODY, orRESOURCEtype.- Parameters:
type- The type of API entity to which the documentation content applies. Valid values areAPI,AUTHORIZER,MODEL,RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. Content inheritance does not apply to any entity of theAPI,AUTHORIZER,METHOD,MODEL,REQUEST_BODY, orRESOURCEtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentationPartType,DocumentationPartType
-
type
DocumentationPartLocation.Builder type(DocumentationPartType type)
The type of API entity to which the documentation content applies. Valid values are
API,AUTHORIZER,MODEL,RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. Content inheritance does not apply to any entity of theAPI,AUTHORIZER,METHOD,MODEL,REQUEST_BODY, orRESOURCEtype.- Parameters:
type- The type of API entity to which the documentation content applies. Valid values areAPI,AUTHORIZER,MODEL,RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. Content inheritance does not apply to any entity of theAPI,AUTHORIZER,METHOD,MODEL,REQUEST_BODY, orRESOURCEtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DocumentationPartType,DocumentationPartType
-
path
DocumentationPartLocation.Builder path(String path)
The URL path of the target. It is a valid field for the API entity types of
RESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is/for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the otherlocationattributes, the child entity'spathattribute must match that of the parent entity as a prefix.- Parameters:
path- The URL path of the target. It is a valid field for the API entity types ofRESOURCE,METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is/for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the otherlocationattributes, the child entity'spathattribute must match that of the parent entity as a prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
method
DocumentationPartLocation.Builder method(String method)
The HTTP verb of a method. It is a valid field for the API entity types of
METHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is*for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the otherlocationattributes, the child entity'smethodattribute must match that of the parent entity exactly.- Parameters:
method- The HTTP verb of a method. It is a valid field for the API entity types ofMETHOD,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODY,RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is*for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the otherlocationattributes, the child entity'smethodattribute must match that of the parent entity exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
DocumentationPartLocation.Builder statusCode(String statusCodeValue)
The HTTP status code of a response. It is a valid field for the API entity types of
RESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is*for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the otherlocationattributes, the child entity'sstatusCodeattribute must match that of the parent entity exactly.- Parameters:
statusCodeValue- The HTTP status code of a response. It is a valid field for the API entity types ofRESPONSE,RESPONSE_HEADER, andRESPONSE_BODY. The default value is*for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the otherlocationattributes, the child entity'sstatusCodeattribute must match that of the parent entity exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DocumentationPartLocation.Builder name(String name)
The name of the targeted API entity. It is a valid and required field for the API entity types of
AUTHORIZER,MODEL,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODYandRESPONSE_HEADER. It is an invalid field for any other entity type.- Parameters:
name- The name of the targeted API entity. It is a valid and required field for the API entity types ofAUTHORIZER,MODEL,PATH_PARAMETER,QUERY_PARAMETER,REQUEST_HEADER,REQUEST_BODYandRESPONSE_HEADER. It is an invalid field for any other entity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-