Class DeleteGroupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qbusiness.model.QBusinessRequest
-
- software.amazon.awssdk.services.qbusiness.model.DeleteGroupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteGroupRequest.Builder,DeleteGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteGroupRequest extends QBusinessRequest implements ToCopyableBuilder<DeleteGroupRequest.Builder,DeleteGroupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The identifier of the application in which the group mapping belongs.static DeleteGroupRequest.Builderbuilder()StringdataSourceId()The identifier of the data source linked to the groupbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the group you want to delete.inthashCode()StringindexId()The identifier of the index you want to delete the group from.List<SdkField<?>>sdkFields()static Class<? extends DeleteGroupRequest.Builder>serializableBuilderClass()DeleteGroupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The identifier of the application in which the group mapping belongs.
- Returns:
- The identifier of the application in which the group mapping belongs.
-
indexId
public final String indexId()
The identifier of the index you want to delete the group from.
- Returns:
- The identifier of the index you want to delete the group from.
-
groupName
public final String groupName()
The name of the group you want to delete.
- Returns:
- The name of the group you want to delete.
-
dataSourceId
public final String dataSourceId()
The identifier of the data source linked to the group
A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only "Sales and Marketing" should access documents in the Salesforce data source.
- Returns:
- The identifier of the data source linked to the group
A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only "Sales and Marketing" should access documents in the Salesforce data source.
-
toBuilder
public DeleteGroupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteGroupRequest.Builder,DeleteGroupRequest>- Specified by:
toBuilderin classQBusinessRequest
-
builder
public static DeleteGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-