Interface GetShardRoleOutput
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<GetShardRoleOutput>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.RpcOutput
public interface GetShardRoleOutput extends org.opendaylight.yangtools.yang.binding.RpcOutput, org.opendaylight.yangtools.yang.binding.Augmentable<GetShardRoleOutput>
This class represents the following YANG schema fragment defined in module cluster-admin
output output { leaf role { type string; } }The schema path to identify an instance is cluster-admin/get-shard-role/outputTo create instances of this class use
GetShardRoleOutputBuilder.- See Also:
GetShardRoleOutputBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable StringgetRole()Current role for the given shard, if not present the shard currently does not have a roledefault Class<GetShardRoleOutput>implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<GetShardRoleOutput> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.RpcOutput
-
getRole
@Nullable String getRole()
Current role for the given shard, if not present the shard currently does not have a role- Returns:
java.lang.Stringrole, ornullif not present
-
-