Interface CredentialsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Credentials,Credentials.Builder
public interface CredentialsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAWS access key id.com.google.protobuf.ByteStringAWS access key id.AWS secret access key.com.google.protobuf.ByteStringAWS secret access key.AWS session token.com.google.protobuf.ByteStringAWS session token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAccessKeyId
String getAccessKeyId()AWS access key id.
string access_key_id = 1 [(.validate.rules) = { ... }- Returns:
- The accessKeyId.
-
getAccessKeyIdBytes
com.google.protobuf.ByteString getAccessKeyIdBytes()AWS access key id.
string access_key_id = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for accessKeyId.
-
getSecretAccessKey
String getSecretAccessKey()AWS secret access key.
string secret_access_key = 2 [(.validate.rules) = { ... }- Returns:
- The secretAccessKey.
-
getSecretAccessKeyBytes
com.google.protobuf.ByteString getSecretAccessKeyBytes()AWS secret access key.
string secret_access_key = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for secretAccessKey.
-
getSessionToken
String getSessionToken()AWS session token. This parameter is optional. If it is set to empty string it will not be consider in the request. It is required if temporary security credentials retrieved directly from AWS STS operations are used.
string session_token = 3;- Returns:
- The sessionToken.
-
getSessionTokenBytes
com.google.protobuf.ByteString getSessionTokenBytes()AWS session token. This parameter is optional. If it is set to empty string it will not be consider in the request. It is required if temporary security credentials retrieved directly from AWS STS operations are used.
string session_token = 3;- Returns:
- The bytes for sessionToken.
-