@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 will be merged into.
|
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 will be merged into. Also known as the destination branch.
public Target.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Target.Builder,Target>
public static Target.Builder builder()
public static Class<? extends Target.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.