@Generated(value="software.amazon.awssdk:codegen") public final class GetFunctionRequest extends CloudFrontRequest implements ToCopyableBuilder<GetFunctionRequest.Builder,GetFunctionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetFunctionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetFunctionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the function whose code you are getting.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFunctionRequest.Builder> |
serializableBuilderClass() |
FunctionStage |
stage()
The function’s stage, either
DEVELOPMENT or LIVE . |
String |
stageAsString()
The function’s stage, either
DEVELOPMENT or LIVE . |
GetFunctionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String name()
The name of the function whose code you are getting.
public final FunctionStage stage()
The function’s stage, either DEVELOPMENT
or LIVE
.
If the service returns an enum value that is not available in the current SDK version, stage
will return
FunctionStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
DEVELOPMENT
or LIVE
.FunctionStage
public final String stageAsString()
The function’s stage, either DEVELOPMENT
or LIVE
.
If the service returns an enum value that is not available in the current SDK version, stage
will return
FunctionStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
DEVELOPMENT
or LIVE
.FunctionStage
public GetFunctionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetFunctionRequest.Builder,GetFunctionRequest>
toBuilder
in class CloudFrontRequest
public static GetFunctionRequest.Builder builder()
public static Class<? extends GetFunctionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.