Class UpdateResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest
-
- software.amazon.awssdk.services.lakeformation.model.UpdateResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateResourceRequest extends LakeFormationRequest implements ToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateResourceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanhybridAccessEnabled()Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.StringresourceArn()The resource ARN.StringroleArn()The new role to use for the given resource registered in Lake Formation.List<SdkField<?>>sdkFields()static Class<? extends UpdateResourceRequest.Builder>serializableBuilderClass()UpdateResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanwithFederation()Whether or not the resource is a federated resource.-
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
-
roleArn
public final String roleArn()
The new role to use for the given resource registered in Lake Formation.
- Returns:
- The new role to use for the given resource registered in Lake Formation.
-
resourceArn
public final String resourceArn()
The resource ARN.
- Returns:
- The resource ARN.
-
withFederation
public final Boolean withFederation()
Whether or not the resource is a federated resource.
- Returns:
- Whether or not the resource is a federated resource.
-
hybridAccessEnabled
public final Boolean hybridAccessEnabled()
Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
- Returns:
- Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
-
toBuilder
public UpdateResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>- Specified by:
toBuilderin classLakeFormationRequest
-
builder
public static UpdateResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateResourceRequest.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
-
-