@Generated(value="software.amazon.awssdk:codegen") public final class DescribeCodeRepositoryResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeCodeRepositoryResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeCodeRepositoryResponse.Builder |
builder() |
String |
codeRepositoryArn()
The Amazon Resource Name (ARN) of the git repository.
|
String |
codeRepositoryName()
The name of the git repository.
|
Instant |
creationTime()
The date and time that the repository was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
GitConfig |
gitConfig()
Configuration details about the repository, including the URL where the repository is located, the default
branch, and the Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used
to access the repository.
|
int |
hashCode() |
Instant |
lastModifiedTime()
The date and time that the repository was last changed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeCodeRepositoryResponse.Builder> |
serializableBuilderClass() |
DescribeCodeRepositoryResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public String codeRepositoryName()
The name of the git repository.
public String codeRepositoryArn()
The Amazon Resource Name (ARN) of the git repository.
public Instant creationTime()
The date and time that the repository was created.
public Instant lastModifiedTime()
The date and time that the repository was last changed.
public GitConfig gitConfig()
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the repository.
public DescribeCodeRepositoryResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
toBuilder
in class AwsResponse
public static DescribeCodeRepositoryResponse.Builder builder()
public static Class<? extends DescribeCodeRepositoryResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.