Class AwsServicesAuthentication.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>
      • getDefaultInstanceForType

        public AwsServicesAuthentication getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AwsServicesAuthentication build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AwsServicesAuthentication buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public AwsServicesAuthentication.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>
      • mergeFrom

        public AwsServicesAuthentication.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AwsServicesAuthentication.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        getRoleArn in interface AwsServicesAuthenticationOrBuilder
        Returns:
        The roleArn.
      • getRoleArnBytes

        public com.google.protobuf.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];
        Specified by:
        getRoleArnBytes in interface AwsServicesAuthenticationOrBuilder
        Returns:
        The bytes for roleArn.
      • setRoleArn

        public AwsServicesAuthentication.Builder setRoleArn​(String value)
         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];
        Parameters:
        value - The roleArn to set.
        Returns:
        This builder for chaining.
      • clearRoleArn

        public AwsServicesAuthentication.Builder clearRoleArn()
         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:
        This builder for chaining.
      • setRoleArnBytes

        public AwsServicesAuthentication.Builder setRoleArnBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for roleArn to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getRoleSessionName in interface AwsServicesAuthenticationOrBuilder
        Returns:
        The roleSessionName.
      • getRoleSessionNameBytes

        public com.google.protobuf.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];
        Specified by:
        getRoleSessionNameBytes in interface AwsServicesAuthenticationOrBuilder
        Returns:
        The bytes for roleSessionName.
      • setRoleSessionName

        public AwsServicesAuthentication.Builder setRoleSessionName​(String value)
         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];
        Parameters:
        value - The roleSessionName to set.
        Returns:
        This builder for chaining.
      • clearRoleSessionName

        public AwsServicesAuthentication.Builder clearRoleSessionName()
         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:
        This builder for chaining.
      • setRoleSessionNameBytes

        public AwsServicesAuthentication.Builder setRoleSessionNameBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for roleSessionName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AwsServicesAuthentication.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>
      • mergeUnknownFields

        public final AwsServicesAuthentication.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AwsServicesAuthentication.Builder>