@Generated(value="software.amazon.awssdk:codegen") public class RepositoryMetadata extends Object implements StructuredPojo, ToCopyableBuilder<RepositoryMetadata.Builder,RepositoryMetadata>
Information about a repository.
Modifier and Type | Class and Description |
---|---|
static interface |
RepositoryMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accountId()
The ID of the AWS account associated with the repository.
|
String |
arn()
The Amazon Resource Name (ARN) of the repository.
|
static RepositoryMetadata.Builder |
builder() |
String |
cloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
|
String |
cloneUrlSsh()
The URL to use for cloning the repository over SSH.
|
Instant |
creationDate()
The date and time the repository was created, in timestamp format.
|
String |
defaultBranch()
The repository's default branch name.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The date and time the repository was last modified, in timestamp format.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
repositoryDescription()
A comment or description about the repository.
|
String |
repositoryId()
The ID of the repository.
|
String |
repositoryName()
The repository's name.
|
static Class<? extends RepositoryMetadata.Builder> |
serializableBuilderClass() |
RepositoryMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String accountId()
The ID of the AWS account associated with the repository.
public String repositoryId()
The ID of the repository.
public String repositoryName()
The repository's name.
public String repositoryDescription()
A comment or description about the repository.
public String defaultBranch()
The repository's default branch name.
public Instant lastModifiedDate()
The date and time the repository was last modified, in timestamp format.
public Instant creationDate()
The date and time the repository was created, in timestamp format.
public String cloneUrlHttp()
The URL to use for cloning the repository over HTTPS.
public String cloneUrlSsh()
The URL to use for cloning the repository over SSH.
public String arn()
The Amazon Resource Name (ARN) of the repository.
public RepositoryMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RepositoryMetadata.Builder,RepositoryMetadata>
public static RepositoryMetadata.Builder builder()
public static Class<? extends RepositoryMetadata.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.