Class GetRepositoryEndpointRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest
-
- software.amazon.awssdk.services.codeartifact.model.GetRepositoryEndpointRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRepositoryEndpointRequest.Builder,GetRepositoryEndpointRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetRepositoryEndpointRequest extends CodeartifactRequest implements ToCopyableBuilder<GetRepositoryEndpointRequest.Builder,GetRepositoryEndpointRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRepositoryEndpointRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRepositoryEndpointRequest.Builderbuilder()Stringdomain()The name of the domain that contains the repository.StringdomainOwner()The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository.EndpointTypeendpointType()A string that specifies the type of endpoint.StringendpointTypeAsString()A string that specifies the type of endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PackageFormatformat()Returns which endpoint of a repository to return.StringformatAsString()Returns which endpoint of a repository to return.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringrepository()The name of the repository.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetRepositoryEndpointRequest.Builder>serializableBuilderClass()GetRepositoryEndpointRequest.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
-
domain
public final String domain()
The name of the domain that contains the repository.
- Returns:
- The name of the domain that contains the repository.
-
domainOwner
public final String domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
- Returns:
- The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
-
repository
public final String repository()
The name of the repository.
- Returns:
- The name of the repository.
-
format
public final PackageFormat format()
Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnPackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
- See Also:
PackageFormat
-
formatAsString
public final String formatAsString()
Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnPackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
- See Also:
PackageFormat
-
endpointType
public final EndpointType endpointType()
A string that specifies the type of endpoint.
If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- A string that specifies the type of endpoint.
- See Also:
EndpointType
-
endpointTypeAsString
public final String endpointTypeAsString()
A string that specifies the type of endpoint.
If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- A string that specifies the type of endpoint.
- See Also:
EndpointType
-
toBuilder
public GetRepositoryEndpointRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRepositoryEndpointRequest.Builder,GetRepositoryEndpointRequest>- Specified by:
toBuilderin classCodeartifactRequest
-
builder
public static GetRepositoryEndpointRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRepositoryEndpointRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-