@Generated(value="software.amazon.awssdk:codegen") public class CreateApplicationRequest extends ServerlessApplicationRepositoryRequest implements ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateApplicationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
author()
The name of the author publishing the app.\nMin Length=1.
|
static CreateApplicationRequest.Builder |
builder() |
String |
description()
The description of the application.\nMin Length=1.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<String> |
labels()
Labels to improve discovery of apps in search results.\nMin Length=1.
|
String |
licenseBody()
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.\nMax
size 5 MB
|
String |
licenseUrl()
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
String |
name()
The name of the application you want to publish.\nMin Length=1.
|
String |
readmeBody()
A raw text Readme file that contains a more detailed description of the application and how it works in markdown
language.\nMax size 5 MB
|
String |
readmeUrl()
A link to the Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MB
|
String |
semanticVersion()
The semantic version of the application:\n\n https://semver.org/
|
static Class<? extends CreateApplicationRequest.Builder> |
serializableBuilderClass() |
String |
sourceCodeUrl()
A link to a public repository for the source code of your application.
|
String |
spdxLicenseId()
A valid identifier from https://spdx.org/licenses/ .
|
String |
templateBody()
The raw packaged SAM template of your application.
|
String |
templateUrl()
A link to the packaged SAM template of your application.
|
CreateApplicationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String author()
public String description()
public List<String> labels()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String licenseBody()
public String licenseUrl()
public String name()
public String readmeBody()
public String readmeUrl()
public String semanticVersion()
public String sourceCodeUrl()
public String spdxLicenseId()
public String templateBody()
public String templateUrl()
public CreateApplicationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
toBuilder
in class ServerlessApplicationRepositoryRequest
public static CreateApplicationRequest.Builder builder()
public static Class<? extends CreateApplicationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.