@Generated(value="software.amazon.awssdk:codegen") public final class Target extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Target.Builder,Target>
Returns information about a target for a pull request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Target.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Target.Builder |
builder() |
String |
destinationReference()
The branch of the repository where the pull request changes are merged.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryName()
The name of the repository that contains the pull request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Target.Builder> |
serializableBuilderClass() |
String |
sourceReference()
The branch of the repository that contains the changes for the pull request.
|
Target.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String repositoryName()
The name of the repository that contains the pull request.
public String sourceReference()
The branch of the repository that contains the changes for the pull request. Also known as the source branch.
public String destinationReference()
The branch of the repository where the pull request changes are merged. Also known as the destination branch.
public Target.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Target.Builder,Target>public static Target.Builder builder()
public static Class<? extends Target.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.