@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that allows a service such as CodePipeline to connect to a third-party code repository.
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of the connection.
|
String |
getConnectionName()
The name of the connection.
|
String |
getConnectionStatus()
The current status of the connection.
|
String |
getOwnerAccountId()
The name of the external provider where your third-party code repository is configured.
|
String |
getProviderType()
The name of the external provider where your third-party code repository is configured.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection.
|
void |
setConnectionName(String connectionName)
The name of the connection.
|
void |
setConnectionStatus(String connectionStatus)
The current status of the connection.
|
void |
setOwnerAccountId(String ownerAccountId)
The name of the external provider where your third-party code repository is configured.
|
void |
setProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
|
String |
toString()
Returns a string representation of this object.
|
Connection |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection.
|
Connection |
withConnectionName(String connectionName)
The name of the connection.
|
Connection |
withConnectionStatus(ConnectionStatus connectionStatus)
The current status of the connection.
|
Connection |
withConnectionStatus(String connectionStatus)
The current status of the connection.
|
Connection |
withOwnerAccountId(String ownerAccountId)
The name of the external provider where your third-party code repository is configured.
|
Connection |
withProviderType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured.
|
Connection |
withProviderType(String providerType)
The name of the external provider where your third-party code repository is configured.
|
public void setConnectionName(String connectionName)
The name of the connection. Connection names must be unique in an AWS user account.
connectionName - The name of the connection. Connection names must be unique in an AWS user account.public String getConnectionName()
The name of the connection. Connection names must be unique in an AWS user account.
public Connection withConnectionName(String connectionName)
The name of the connection. Connection names must be unique in an AWS user account.
connectionName - The name of the connection. Connection names must be unique in an AWS user account.public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
connectionArn - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the
connection is shared between AWS services. The ARN is never reused if the connection is deleted.
public String getConnectionArn()
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
The ARN is never reused if the connection is deleted.
public Connection withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
connectionArn - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the
connection is shared between AWS services. The ARN is never reused if the connection is deleted.
public void setProviderType(String providerType)
The name of the external provider where your third-party code repository is configured. Currently, the valid provider type is Bitbucket.
providerType - The name of the external provider where your third-party code repository is configured. Currently, the
valid provider type is Bitbucket.ProviderTypepublic String getProviderType()
The name of the external provider where your third-party code repository is configured. Currently, the valid provider type is Bitbucket.
ProviderTypepublic Connection withProviderType(String providerType)
The name of the external provider where your third-party code repository is configured. Currently, the valid provider type is Bitbucket.
providerType - The name of the external provider where your third-party code repository is configured. Currently, the
valid provider type is Bitbucket.ProviderTypepublic Connection withProviderType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured. Currently, the valid provider type is Bitbucket.
providerType - The name of the external provider where your third-party code repository is configured. Currently, the
valid provider type is Bitbucket.ProviderTypepublic void setOwnerAccountId(String ownerAccountId)
The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
ownerAccountId - The name of the external provider where your third-party code repository is configured. For Bitbucket,
this is the account ID of the owner of the Bitbucket repository.public String getOwnerAccountId()
The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
public Connection withOwnerAccountId(String ownerAccountId)
The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
ownerAccountId - The name of the external provider where your third-party code repository is configured. For Bitbucket,
this is the account ID of the owner of the Bitbucket repository.public void setConnectionStatus(String connectionStatus)
The current status of the connection.
connectionStatus - The current status of the connection.ConnectionStatuspublic String getConnectionStatus()
The current status of the connection.
ConnectionStatuspublic Connection withConnectionStatus(String connectionStatus)
The current status of the connection.
connectionStatus - The current status of the connection.ConnectionStatuspublic Connection withConnectionStatus(ConnectionStatus connectionStatus)
The current status of the connection.
connectionStatus - The current status of the connection.ConnectionStatuspublic String toString()
toString in class ObjectObject.toString()public Connection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.