Class CreatePresignedDomainUrlRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.CreatePresignedDomainUrlRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreatePresignedDomainUrlRequest.Builder,CreatePresignedDomainUrlRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreatePresignedDomainUrlRequest extends SageMakerRequest implements ToCopyableBuilder<CreatePresignedDomainUrlRequest.Builder,CreatePresignedDomainUrlRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreatePresignedDomainUrlRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreatePresignedDomainUrlRequest.Builderbuilder()StringdomainId()The domain ID.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerexpiresInSeconds()The number of seconds until the pre-signed URL expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlandingUri()The landing page that the user is directed to when accessing the presigned URL.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreatePresignedDomainUrlRequest.Builder>serializableBuilderClass()IntegersessionExpirationDurationInSeconds()The session expiration duration in seconds.StringspaceName()The name of the space.CreatePresignedDomainUrlRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserProfileName()The name of the UserProfile to sign-in as.-
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
-
domainId
public final String domainId()
The domain ID.
- Returns:
- The domain ID.
-
userProfileName
public final String userProfileName()
The name of the UserProfile to sign-in as.
- Returns:
- The name of the UserProfile to sign-in as.
-
sessionExpirationDurationInSeconds
public final Integer sessionExpirationDurationInSeconds()
The session expiration duration in seconds. This value defaults to 43200.
- Returns:
- The session expiration duration in seconds. This value defaults to 43200.
-
expiresInSeconds
public final Integer expiresInSeconds()
The number of seconds until the pre-signed URL expires. This value defaults to 300.
- Returns:
- The number of seconds until the pre-signed URL expires. This value defaults to 300.
-
spaceName
public final String spaceName()
The name of the space.
- Returns:
- The name of the space.
-
landingUri
public final String landingUri()
The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:
-
studio::relative/path: Directs users to the relative path in Studio. -
app:JupyterServer:relative/path: Directs users to the relative path in the Studio Classic application. -
app:JupyterLab:relative/path: Directs users to the relative path in the JupyterLab application. -
app:RStudioServerPro:relative/path: Directs users to the relative path in the RStudio application. -
app:CodeEditor:relative/path: Directs users to the relative path in the Code Editor, based on Code-OSS, Visual Studio Code - Open Source application. -
app:Canvas:relative/path: Directs users to the relative path in the Canvas application.
- Returns:
- The landing page that the user is directed to when accessing the presigned URL. Using this value, users
can access Studio or Studio Classic, even if it is not the default experience for the domain. The
supported values are:
-
studio::relative/path: Directs users to the relative path in Studio. -
app:JupyterServer:relative/path: Directs users to the relative path in the Studio Classic application. -
app:JupyterLab:relative/path: Directs users to the relative path in the JupyterLab application. -
app:RStudioServerPro:relative/path: Directs users to the relative path in the RStudio application. -
app:CodeEditor:relative/path: Directs users to the relative path in the Code Editor, based on Code-OSS, Visual Studio Code - Open Source application. -
app:Canvas:relative/path: Directs users to the relative path in the Canvas application.
-
-
-
toBuilder
public CreatePresignedDomainUrlRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePresignedDomainUrlRequest.Builder,CreatePresignedDomainUrlRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static CreatePresignedDomainUrlRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreatePresignedDomainUrlRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-