Interface AwsServicesAuthenticationOrBuilder (0.40.0)

public interface AwsServicesAuthenticationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRoleArn()

public abstract String getRoleArn()

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The roleArn.

getRoleArnBytes()

public abstract ByteString getRoleArnBytes()

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for roleArn.

getRoleSessionName()

public abstract String getRoleSessionName()

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The roleSessionName.

getRoleSessionNameBytes()

public abstract ByteString getRoleSessionNameBytes()

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for roleSessionName.