Class DescribeCodeRepositoryResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.DescribeCodeRepositoryResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeCodeRepositoryResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeCodeRepositoryResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
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 Amazon Web Services 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()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
codeRepositoryName
public final String codeRepositoryName()
The name of the Git repository.
- Returns:
- The name of the Git repository.
-
codeRepositoryArn
public final String codeRepositoryArn()
The Amazon Resource Name (ARN) of the Git repository.
- Returns:
- The Amazon Resource Name (ARN) of the Git repository.
-
creationTime
public final Instant creationTime()
The date and time that the repository was created.
- Returns:
- The date and time that the repository was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
The date and time that the repository was last changed.
- Returns:
- The date and time that the repository was last changed.
-
gitConfig
public final 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 Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
- Returns:
- Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
-
toBuilder
public DescribeCodeRepositoryResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeCodeRepositoryResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeCodeRepositoryResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-