Class ListVersionsByFunctionResponse
- java.lang.Object
- 
- software.amazon.awssdk.core.SdkResponse
- 
- software.amazon.awssdk.awscore.AwsResponse
- 
- software.amazon.awssdk.services.lambda.model.LambdaResponse
- 
- software.amazon.awssdk.services.lambda.model.ListVersionsByFunctionResponse
 
 
 
 
- 
- All Implemented Interfaces:
- SdkPojo,- ToCopyableBuilder<ListVersionsByFunctionResponse.Builder,ListVersionsByFunctionResponse>
 
 @Generated("software.amazon.awssdk:codegen") public final class ListVersionsByFunctionResponse extends LambdaResponse implements ToCopyableBuilder<ListVersionsByFunctionResponse.Builder,ListVersionsByFunctionResponse> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceListVersionsByFunctionResponse.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListVersionsByFunctionResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasVersions()For responses, this returns true if the service returned a value for the Versions property.StringnextMarker()The pagination token that's included if more results are available.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListVersionsByFunctionResponse.Builder>serializableBuilderClass()ListVersionsByFunctionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<FunctionConfiguration>versions()A list of Lambda function versions.- 
Methods inherited from class software.amazon.awssdk.services.lambda.model.LambdaResponseresponseMetadata
 - 
Methods inherited from class software.amazon.awssdk.core.SdkResponsesdkHttpResponse
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
 
- 
 
- 
- 
- 
Method Detail- 
nextMarkerpublic final String nextMarker() The pagination token that's included if more results are available. - Returns:
- The pagination token that's included if more results are available.
 
 - 
hasVersionspublic final boolean hasVersions() For responses, this returns true if the service returned a value for the Versions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
 - 
versionspublic final List<FunctionConfiguration> versions() A list of Lambda function versions. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasVersions()method.- Returns:
- A list of Lambda function versions.
 
 - 
toBuilderpublic ListVersionsByFunctionResponse.Builder toBuilder() - Specified by:
- toBuilderin interface- ToCopyableBuilder<ListVersionsByFunctionResponse.Builder,ListVersionsByFunctionResponse>
- Specified by:
- toBuilderin class- AwsResponse
 
 - 
builderpublic static ListVersionsByFunctionResponse.Builder builder() 
 - 
serializableBuilderClasspublic static Class<? extends ListVersionsByFunctionResponse.Builder> serializableBuilderClass() 
 - 
hashCodepublic final int hashCode() - Overrides:
- hashCodein class- AwsResponse
 
 - 
equalspublic final boolean equals(Object obj) - Overrides:
- equalsin class- AwsResponse
 
 - 
equalsBySdkFieldspublic final boolean equalsBySdkFields(Object obj) - Specified by:
- equalsBySdkFieldsin interface- SdkPojo
 
 - 
toStringpublic 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.
 - 
getValueForFieldpublic final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) - Overrides:
- getValueForFieldin class- SdkResponse
 
 - 
sdkFieldNameToFieldpublic final Map<String,SdkField<?>> sdkFieldNameToField() - Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
 
 
- 
 
-