@Generated(value="software.amazon.awssdk:codegen") public final 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.
|
static CreateApplicationRequest.Builder |
builder() |
String |
description()
The description of the application.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLabels()
For responses, this returns true if the service returned a value for the Labels property.
|
String |
homePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
List<String> |
labels()
Labels to improve discovery of apps in search results.
|
String |
licenseBody()
A local text file that contains the license of the app that matches the spdxLicenseID value of your application.
|
String |
licenseUrl()
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
application.
|
String |
name()
The name of the application that you want to publish.
|
String |
readmeBody()
A local text readme file in Markdown language that contains a more detailed description of the application and
how it works.
|
String |
readmeUrl()
A link to the S3 object in Markdown language that contains a more detailed description of the application and how
it works.
|
List<SdkField<?>> |
sdkFields() |
String |
semanticVersion()
The semantic version of the application:
|
static Class<? extends CreateApplicationRequest.Builder> |
serializableBuilderClass() |
String |
sourceCodeArchiveUrl()
A link to the S3 object that contains the ZIP archive of the source code for this version of your application.
|
String |
sourceCodeUrl()
A link to a public repository for the source code of your application, for example the URL of a specific GitHub
commit.
|
String |
spdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
|
String |
templateBody()
The local raw packaged AWS SAM template file of your application.
|
String |
templateUrl()
A link to the S3 object containing the packaged AWS SAM template of your application.
|
CreateApplicationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String author()
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public final String description()
The description of the application.
Minimum length=1. Maximum length=256
Minimum length=1. Maximum length=256
public final String homePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the application.
public final boolean hasLabels()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> labels()
Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLabels() method.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public final String licenseBody()
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public final String licenseUrl()
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public final String name()
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
public final String readmeBody()
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public final String readmeUrl()
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public final String semanticVersion()
The semantic version of the application:
public final String sourceCodeArchiveUrl()
A link to the S3 object that contains the ZIP archive of the source code for this version of your application.
Maximum size 50 MB
Maximum size 50 MB
public final String sourceCodeUrl()
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
public final String spdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
public final String templateBody()
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public final String templateUrl()
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public CreateApplicationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>toBuilder in class ServerlessApplicationRepositoryRequestpublic static CreateApplicationRequest.Builder builder()
public static Class<? extends CreateApplicationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.