Class CreateProjectRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mobile.model.MobileRequest
-
- software.amazon.awssdk.services.mobile.model.CreateProjectRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateProjectRequest extends MobileRequest implements ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
Request structure used to request a project be created.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateProjectRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateProjectRequest.Builderbuilder()SdkBytescontents()ZIP or YAML file which contains configuration settings to be used when creating the project.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name of the project.Stringregion()Default region where project resources should be created.List<SdkField<?>>sdkFields()static Class<? extends CreateProjectRequest.Builder>serializableBuilderClass()StringsnapshotId()Unique identifier for an exported snapshot of project configuration.CreateProjectRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Name of the project.
- Returns:
- Name of the project.
-
region
public final String region()
Default region where project resources should be created.
- Returns:
- Default region where project resources should be created.
-
contents
public final SdkBytes contents()
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
- Returns:
- ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
-
snapshotId
public final String snapshotId()
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
- Returns:
- Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
-
toBuilder
public CreateProjectRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>- Specified by:
toBuilderin classMobileRequest
-
builder
public static CreateProjectRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateProjectRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-