Class GetAttachedFileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.connect.model.ConnectRequest
-
- software.amazon.awssdk.services.connect.model.GetAttachedFileRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetAttachedFileRequest.Builder,GetAttachedFileRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetAttachedFileRequest extends ConnectRequest implements ToCopyableBuilder<GetAttachedFileRequest.Builder,GetAttachedFileRequest>
Request to GetAttachedFile API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetAttachedFileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
associatedResourceArn()
The resource to which the attached file is (being) uploaded to.static GetAttachedFileRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
fileId()
The unique identifier of the attached file resource.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceId()
The unique identifier of the Connect instance.List<SdkField<?>>
sdkFields()
static Class<? extends GetAttachedFileRequest.Builder>
serializableBuilderClass()
GetAttachedFileRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Integer
urlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds.-
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
-
instanceId
public final String instanceId()
The unique identifier of the Connect instance.
- Returns:
- The unique identifier of the Connect instance.
-
fileId
public final String fileId()
The unique identifier of the attached file resource.
- Returns:
- The unique identifier of the attached file resource.
-
urlExpiryInSeconds
public final Integer urlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
- Returns:
- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
-
associatedResourceArn
public final String associatedResourceArn()
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- Returns:
- The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
-
toBuilder
public GetAttachedFileRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetAttachedFileRequest.Builder,GetAttachedFileRequest>
- Specified by:
toBuilder
in classConnectRequest
-
builder
public static GetAttachedFileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAttachedFileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-