Class EnvironmentLink
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.EnvironmentLink
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentLink.Builder,EnvironmentLink>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentLink extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentLink.Builder,EnvironmentLink>
A link to another environment, defined in the environment's manifest. Links provide connection information in system properties that can be used to connect to another environment in the same group. See Environment Manifest (env.yaml) for details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentLink.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvironmentLink.Builderbuilder()StringenvironmentName()The name of the linked environment (the dependency).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlinkName()The name of the link.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EnvironmentLink.Builder>serializableBuilderClass()EnvironmentLink.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
linkName
public final String linkName()
The name of the link.
- Returns:
- The name of the link.
-
environmentName
public final String environmentName()
The name of the linked environment (the dependency).
- Returns:
- The name of the linked environment (the dependency).
-
toBuilder
public EnvironmentLink.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentLink.Builder,EnvironmentLink>
-
builder
public static EnvironmentLink.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentLink.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-