@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes resources needed to authenticate access to some source repositories. The specific resource depends on the repository provider.
Constructor and Description |
---|
AuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
AuthenticationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository.
|
String |
getConnectionArn()
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a
source repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessRoleArn(String accessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository.
|
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a
source repository.
|
String |
toString()
Returns a string representation of this object.
|
AuthenticationConfiguration |
withAccessRoleArn(String accessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository.
|
AuthenticationConfiguration |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a
source repository.
|
public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
connectionArn
- The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect
to a source repository. It's required for GitHub code repositories.public String getConnectionArn()
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
public AuthenticationConfiguration withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
connectionArn
- The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect
to a source repository. It's required for GitHub code repositories.public void setAccessRoleArn(String accessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
accessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source
repository. It's required for ECR image repositories (but not for ECR Public repositories).public String getAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
public AuthenticationConfiguration withAccessRoleArn(String accessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
accessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source
repository. It's required for ECR image repositories (but not for ECR Public repositories).public String toString()
toString
in class Object
Object.toString()
public AuthenticationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.