@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryBranch extends Object implements Serializable, Cloneable, StructuredPojo
Detail data for a linked repository branch.
Constructor and Description |
---|
RepositoryBranch() |
Modifier and Type | Method and Description |
---|---|
RepositoryBranch |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the linked repository.
|
String |
getBranch()
The repository branch.
|
String |
getName()
The repository name.
|
String |
getProvider()
The repository provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the linked repository.
|
void |
setBranch(String branch)
The repository branch.
|
void |
setName(String name)
The repository name.
|
void |
setProvider(String provider)
The repository provider.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryBranch |
withArn(String arn)
The Amazon Resource Name (ARN) of the linked repository.
|
RepositoryBranch |
withBranch(String branch)
The repository branch.
|
RepositoryBranch |
withName(String name)
The repository name.
|
RepositoryBranch |
withProvider(RepositoryProvider provider)
The repository provider.
|
RepositoryBranch |
withProvider(String provider)
The repository provider.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the linked repository.
arn
- The Amazon Resource Name (ARN) of the linked repository.public String getArn()
The Amazon Resource Name (ARN) of the linked repository.
public RepositoryBranch withArn(String arn)
The Amazon Resource Name (ARN) of the linked repository.
arn
- The Amazon Resource Name (ARN) of the linked repository.public void setBranch(String branch)
The repository branch.
branch
- The repository branch.public String getBranch()
The repository branch.
public RepositoryBranch withBranch(String branch)
The repository branch.
branch
- The repository branch.public void setName(String name)
The repository name.
name
- The repository name.public String getName()
The repository name.
public RepositoryBranch withName(String name)
The repository name.
name
- The repository name.public void setProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String getProvider()
The repository provider.
RepositoryProvider
public RepositoryBranch withProvider(String provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public RepositoryBranch withProvider(RepositoryProvider provider)
The repository provider.
provider
- The repository provider.RepositoryProvider
public String toString()
toString
in class Object
Object.toString()
public RepositoryBranch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.