Class RepositoryMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.RepositoryMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RepositoryMetadata.Builder,RepositoryMetadata>
@Generated("software.amazon.awssdk:codegen") public final class RepositoryMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryMetadata.Builder,RepositoryMetadata>
Information about a repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepositoryMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the Amazon Web Services account associated with the repository.Stringarn()The Amazon Resource Name (ARN) of the repository.static RepositoryMetadata.Builderbuilder()StringcloneUrlHttp()The URL to use for cloning the repository over HTTPS.StringcloneUrlSsh()The URL to use for cloning the repository over SSH.InstantcreationDate()The date and time the repository was created, in timestamp format.StringdefaultBranch()The repository's default branch name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.InstantlastModifiedDate()The date and time the repository was last modified, in timestamp format.StringrepositoryDescription()A comment or description about the repository.StringrepositoryId()The ID of the repository.StringrepositoryName()The repository's name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RepositoryMetadata.Builder>serializableBuilderClass()RepositoryMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accountId
public final String accountId()
The ID of the Amazon Web Services account associated with the repository.
- Returns:
- The ID of the Amazon Web Services account associated with the repository.
-
repositoryId
public final String repositoryId()
The ID of the repository.
- Returns:
- The ID of the repository.
-
repositoryName
public final String repositoryName()
The repository's name.
- Returns:
- The repository's name.
-
repositoryDescription
public final String repositoryDescription()
A comment or description about the repository.
- Returns:
- A comment or description about the repository.
-
defaultBranch
public final String defaultBranch()
The repository's default branch name.
- Returns:
- The repository's default branch name.
-
lastModifiedDate
public final Instant lastModifiedDate()
The date and time the repository was last modified, in timestamp format.
- Returns:
- The date and time the repository was last modified, in timestamp format.
-
creationDate
public final Instant creationDate()
The date and time the repository was created, in timestamp format.
- Returns:
- The date and time the repository was created, in timestamp format.
-
cloneUrlHttp
public final String cloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
- Returns:
- The URL to use for cloning the repository over HTTPS.
-
cloneUrlSsh
public final String cloneUrlSsh()
The URL to use for cloning the repository over SSH.
- Returns:
- The URL to use for cloning the repository over SSH.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the repository.
- Returns:
- The Amazon Resource Name (ARN) of the repository.
-
kmsKeyId
public final String kmsKeyId()
The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.
- Returns:
- The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.
-
toBuilder
public RepositoryMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RepositoryMetadata.Builder,RepositoryMetadata>
-
builder
public static RepositoryMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends RepositoryMetadata.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-