public final class AwsServicesAuthentication extends GeneratedMessageV3 implements AwsServicesAuthenticationOrBuilder
Authentication configuration for the management of AWS resources.
Protobuf type google.cloud.gkemulticloud.v1.AwsServicesAuthentication
Static Fields
ROLE_ARN_FIELD_NUMBER
public static final int ROLE_ARN_FIELD_NUMBER
Field Value
ROLE_SESSION_NAME_FIELD_NUMBER
public static final int ROLE_SESSION_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsServicesAuthentication getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsServicesAuthentication.Builder newBuilder()
Returns
newBuilder(AwsServicesAuthentication prototype)
public static AwsServicesAuthentication.Builder newBuilder(AwsServicesAuthentication prototype)
Parameter
Returns
public static AwsServicesAuthentication parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsServicesAuthentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsServicesAuthentication parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsServicesAuthentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsServicesAuthentication parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsServicesAuthentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsServicesAuthentication parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsServicesAuthentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsServicesAuthentication parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsServicesAuthentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsServicesAuthentication parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsServicesAuthentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsServicesAuthentication> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsServicesAuthentication getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AwsServicesAuthentication> getParserForType()
Returns
Overrides
getRoleArn()
public 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
Type | Description |
String | The roleArn.
|
getRoleArnBytes()
public 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
getRoleSessionName()
public 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
Type | Description |
String | The roleSessionName.
|
getRoleSessionNameBytes()
public 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
Type | Description |
ByteString | The bytes for roleSessionName.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsServicesAuthentication.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsServicesAuthentication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsServicesAuthentication.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions