@Generated(value="software.amazon.awssdk:codegen") public final class DescribeContextResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeContextResponse.Builder,DescribeContextResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeContextResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeContextResponse.Builder |
builder() |
String |
contextArn()
The Amazon Resource Name (ARN) of the context.
|
String |
contextName()
The name of the context.
|
String |
contextType()
The type of the context.
|
UserContext |
createdBy()
Returns the value of the CreatedBy property for this object.
|
Instant |
creationTime()
When the context was created.
|
String |
description()
The description of the context.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProperties()
Returns true if the Properties property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
UserContext |
lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.
|
Instant |
lastModifiedTime()
When the context was last modified.
|
Map<String,String> |
properties()
A list of the context's properties.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeContextResponse.Builder> |
serializableBuilderClass() |
ContextSource |
source()
The source of the context.
|
DescribeContextResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String contextName()
The name of the context.
public String contextArn()
The Amazon Resource Name (ARN) of the context.
public ContextSource source()
The source of the context.
public String contextType()
The type of the context.
public String description()
The description of the context.
public boolean hasProperties()
public Map<String,String> properties()
A list of the context's properties.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProperties() to see if a value was sent in this field.
public Instant creationTime()
When the context was created.
public UserContext createdBy()
public Instant lastModifiedTime()
When the context was last modified.
public UserContext lastModifiedBy()
public DescribeContextResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeContextResponse.Builder,DescribeContextResponse>toBuilder in class AwsResponsepublic static DescribeContextResponse.Builder builder()
public static Class<? extends DescribeContextResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.