Class CreateSourceRepositoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest
-
- software.amazon.awssdk.services.codecatalyst.model.CreateSourceRepositoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateSourceRepositoryRequest.Builder,CreateSourceRepositoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateSourceRepositoryRequest extends CodeCatalystRequest implements ToCopyableBuilder<CreateSourceRepositoryRequest.Builder,CreateSourceRepositoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateSourceRepositoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSourceRepositoryRequest.Builderbuilder()Stringdescription()The description of the source repository.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the source repository.StringprojectName()The name of the project in the space.List<SdkField<?>>sdkFields()static Class<? extends CreateSourceRepositoryRequest.Builder>serializableBuilderClass()StringspaceName()The name of the space.CreateSourceRepositoryRequest.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
-
spaceName
public final String spaceName()
The name of the space.
- Returns:
- The name of the space.
-
projectName
public final String projectName()
The name of the project in the space.
- Returns:
- The name of the project in the space.
-
name
public final String name()
The name of the source repository. For more information about name requirements, see Quotas for source repositories.
- Returns:
- The name of the source repository. For more information about name requirements, see Quotas for source repositories.
-
description
public final String description()
The description of the source repository.
- Returns:
- The description of the source repository.
-
toBuilder
public CreateSourceRepositoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateSourceRepositoryRequest.Builder,CreateSourceRepositoryRequest>- Specified by:
toBuilderin classCodeCatalystRequest
-
builder
public static CreateSourceRepositoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateSourceRepositoryRequest.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
-
-