Class ThirdPartySourceRepository
- java.lang.Object
-
- software.amazon.awssdk.services.codegurureviewer.model.ThirdPartySourceRepository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ThirdPartySourceRepository.Builder,ThirdPartySourceRepository>
@Generated("software.amazon.awssdk:codegen") public final class ThirdPartySourceRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThirdPartySourceRepository.Builder,ThirdPartySourceRepository>
Information about a third-party source repository connected to CodeGuru Reviewer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceThirdPartySourceRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThirdPartySourceRepository.Builderbuilder()StringconnectionArn()The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the third party source repository.Stringowner()The owner of the repository.List<SdkField<?>>sdkFields()static Class<? extends ThirdPartySourceRepository.Builder>serializableBuilderClass()ThirdPartySourceRepository.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
-
name
public final String name()
The name of the third party source repository.
- Returns:
- The name of the third party source repository.
-
connectionArn
public final String connectionArn()
The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.- Returns:
- The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is
arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
-
owner
public final String owner()
The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID
- Returns:
- The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID
-
toBuilder
public ThirdPartySourceRepository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ThirdPartySourceRepository.Builder,ThirdPartySourceRepository>
-
builder
public static ThirdPartySourceRepository.Builder builder()
-
serializableBuilderClass
public static Class<? extends ThirdPartySourceRepository.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.
-
-